farmcontrol-server/config.json
Tom Butcher a62df6a5c6
Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
Enhance build metadata handling and server info logging
Add a function to write build metadata to src/buildInfo.json during the build process in Jenkinsfile. Update local server to include version and build number in the /info endpoint response. Modify index.js to log detailed host information when the --info flag is used. Update .gitignore to include src/buildInfo.json and adjust config.json with new host credentials.
2026-07-26 23:14:04 +01:00

20 lines
481 B
JSON

{
"development": {
"logLevel": "debug",
"url": "https://dev-wss.tombutcher.work",
"apiUrl": "https://dev.tombutcher.work/api",
"host": {
"id": "6a6654425330570c496f12ee",
"authCode": "VCXo44VxFhJb2pvZDQ0b3QPX7lYMg7SGZ6s4HBU72dJb-PBNk81UfwYhqqYKn1Ez"
}
},
"production": {
"logLevel": "info",
"url": "https://ws.farmcontrol.app",
"apiUrl": "https://api.farmcontrol.app",
"host": {
"id": "",
"authCode": ""
}
}
}