Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Changed the API URL in both `config.json` and `src/config.js` for the development environment. - Added a new `objectid.js` file containing utility functions for handling object IDs, including `stringifyIds` and `refId`. - Updated the `PrinterDatabase`, `PrinterClient`, and `PrinterManager` classes to utilize the new object ID handling functions, ensuring consistent ID management across the application. - Enhanced the `SocketClient` to incorporate a custom parser for handling string IDs in socket communications.
21 lines
552 B
JSON
21 lines
552 B
JSON
{
|
|
"development": {
|
|
"logLevel": "debug",
|
|
"url": "https://dev-wss.tombutcher.work",
|
|
"apiUrl": "https://dev.tombutcher.work/fcapi",
|
|
"host": {
|
|
"id": "691a1db49ce913faf0e51284",
|
|
"authCode": "6wdCQPKMr_zuFaJe3-AY99uRuAEZRgU2lLNTuAFPW5hPvzzTrSra3rh3woZLj-eE"
|
|
},
|
|
"dataDir": "/Users/tombutcher/Projects/farmcontrol-server/data"
|
|
},
|
|
"production": {
|
|
"logLevel": "info",
|
|
"url": "https://ws.farmcontrol.app",
|
|
"apiUrl": "https://api.farmcontrol.app",
|
|
"host": {
|
|
"id": "",
|
|
"authCode": ""
|
|
}
|
|
}
|
|
} |