disable allowJs, fix ExecStart
This commit is contained in:
parent
8d5aaf4eeb
commit
de85df943f
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ Type=simple
|
|||
|
||||
|
||||
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
|
||||
PrivateTmp=yes
|
||||
|
|
|
@ -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. */
|
||||
|
||||
/* 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. */
|
||||
// "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
|
||||
|
||||
|
|
Loading…
Reference in a new issue