disable allowJs, fix ExecStart

This commit is contained in:
Elijah R 2024-06-23 19:35:40 -04:00
parent 8d5aaf4eeb
commit de85df943f
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ Type=simple
WorkingDirectory=/srv/collabvm/anyos-bot-new-new WorkingDirectory=/srv/collabvm/anyos-bot-new-new
ExecStart=/bin/node index.js --max-old-space-size=1024 --use-largepages=on ExecStart=/bin/node dist/index.js --max-old-space-size=1024 --use-largepages=on
# Hardening # Hardening
PrivateTmp=yes PrivateTmp=yes

View file

@ -44,7 +44,7 @@
// "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */ // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
/* JavaScript Support */ /* JavaScript Support */
"allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */ // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
// "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */