chore: add Dockerfile and docker-compose.yml for NAS deployment
This commit is contained in:
+4
-2
@@ -794,8 +794,10 @@ function startServer() {
|
||||
server.listen(PORT, () => {
|
||||
console.log(`CatMata Sub2Proxy 控制面板已启动!`);
|
||||
console.log(`本地访问地址: http://localhost:${PORT}`);
|
||||
console.log(`正在自动打开默认浏览器...`);
|
||||
openBrowser(`http://localhost:${PORT}`);
|
||||
if (process.env.HEADLESS !== 'true') {
|
||||
console.log(`正在自动打开默认浏览器...`);
|
||||
openBrowser(`http://localhost:${PORT}`);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user