mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
enhance API key management UI and improve watcher configuration.
This commit is contained in:
+6
-2
@@ -40,8 +40,12 @@ const nextConfig = {
|
||||
path: false,
|
||||
};
|
||||
}
|
||||
// Exclude logs, .next, gitbook subapp from watcher
|
||||
config.watchOptions = { ...config.watchOptions, ignored: /[\\/](logs|\.next|gitbook|cli)[\\/]/ };
|
||||
// Exclude non-source dirs from watcher to reduce inotify load
|
||||
config.watchOptions = {
|
||||
...config.watchOptions,
|
||||
aggregateTimeout: 300,
|
||||
ignored: /[\\/](node_modules|\.git|logs|\.next|\.next-cli-build|gitbook|cli|open-sse\.old|tests|docs)[\\/]/,
|
||||
};
|
||||
return config;
|
||||
},
|
||||
async rewrites() {
|
||||
|
||||
Reference in New Issue
Block a user