diff --git a/collabvm-anyosbot.service b/collabvm-anyosbot.service index 7dddf08..bfcb98c 100644 --- a/collabvm-anyosbot.service +++ b/collabvm-anyosbot.service @@ -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 diff --git a/tsconfig.json b/tsconfig.json index e84eadb..6654683 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -44,7 +44,7 @@ // "noResolve": true, /* Disallow 'import's, 'require's or ''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'. */