enhance API key management UI and improve watcher configuration.

This commit is contained in:
decolua
2026-06-20 11:19:03 +07:00
parent 090886ced9
commit 25e8723ad1
4 changed files with 150 additions and 120 deletions
+6 -2
View File
@@ -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() {