fix startup

This commit is contained in:
Absurdon 2023-03-05 17:25:06 +00:00
parent ddb6c460ff
commit addc7365c4
3 changed files with 10 additions and 34 deletions

View file

@ -6,4 +6,4 @@ if [ -f "/home/web/tmp/.updatePublic" ]; then
rm -f /home/web/tmp/.updatePublic
fi
node index.js
node index.mjs

View file

@ -1,24 +0,0 @@
/**
* New Relic agent configuration.
*
* See lib/config.defaults.js in the agent distribution for a more complete
* description of configuration variables and their potential values.
*/
exports.config = {
/**
* Array of application names.
*/
app_name: ['enslgathers'],
/**
* Your New Relic license key.
*/
license_key: process.env.NEW_RELIC_LICENSE_KEY,
logging: {
/**
* Level at which to log. 'trace' is most useful to New Relic when diagnosing
* issues with the agent, 'info' and higher will impose the least overhead on
* production applications.
*/
level: 'info'
}
}

View file

@ -1,8 +1,8 @@
{
"name": "sws_gathers",
"version": "2.0.3",
"version": "2.1.0",
"description": "ENSL Gather Service",
"main": "index.js",
"main": "index.mjs",
"keywords": [
"NS2",
"Gathers",
@ -10,25 +10,25 @@
],
"scripts": {
"test": "NODE_ENV=test mocha spec/",
"start": "npm run compile && node index.js",
"start_production": "npm run compile_production & node index.js",
"start": "npm run compile && node index.mjs",
"start_production": "npm run compile_production & node index.mjs",
"watch": "npm run compile && node_modules/brunch/bin/brunch watch --server",
"compile": "node node_modules/brunch/bin/brunch build",
"compile_production": "node node_modules/brunch/bin/brunch build --production",
"dev": "nodemon index.js",
"dev": "nodemon index.mjs",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect"
},
"repository": {
"type": "git",
"url": "https://github.com/cblanc/sws_gathers"
"url": "https://github.com/ENSL/ensl_gathers"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/cblanc/sws_gathers/issues"
"url": "https://github.com/ENSL/ensl_gathers/issues"
},
"homepage": "https://github.com/cblanc/sws_gathers",
"homepage": "https://github.com/ENSL/ensl_gathers",
"dependencies": {
"async": "~1.4.0",
"bootstrap": "^4.0.0",
@ -89,4 +89,4 @@
"node": ">=10.13.0"
},
"snyk": true
}
}