Fix WebSocket, add auto refresh on frontend update

This commit is contained in:
2025-06-19 19:05:53 +02:00
parent 34deaa1984
commit 7e45373846
887 changed files with 114282 additions and 2 deletions

8
node_modules/has-flag/index.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
module.exports = (flag, argv = process.argv) => {
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
const position = argv.indexOf(prefix + flag);
const terminatorPosition = argv.indexOf('--');
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
};