Commit Graph

49 Commits

Author SHA1 Message Date
rokiden 00bc03f257 Added BACKUP_DIR env 2023-09-22 20:27:31 +06:00
rtm516 3c5177dd70
Update health-check to support SSL properly 2023-01-21 16:36:49 +00:00
Thomas Dissert 5d11c58ac4
fixed the comment a bit more 2022-10-28 09:55:54 +02:00
Thomas Dissert b658d94adc
Fixed comment describing healthcheck 2022-10-28 09:43:38 +02:00
Alicia Sykes bd759d63fd
️ Moves host variable below imports 2022-07-07 18:05:34 +01:00
flechaig b4db66f339
Allow specifying a host on which to listen even with SSL
Allow specifying a host on which to listen even with SSL
Grab the IP address from the HOST environment variable and use it to bind the SSL server.
Default to 0.0.0.0
IPv6 compliant.
2022-07-07 17:05:47 +02:00
Marcell Fülöp 91d4fd55c0 🩹 Ensure stat finished before startSSLServer()
The two chained stat() promises may not have finished by the time
`enableSSL` is evaluated in case of a slow file system (e.g. on a
Raspberry Pi where the only block device is an SD card).
2022-06-24 19:36:00 +00:00
Alicia Sykes 8c15ab4c84 🔐 Adds local path checking 2022-05-01 22:26:55 +01:00
Alicia Sykes 5ab619f195 Adds a parameter to specify which config file to edit 2022-04-24 16:02:14 +01:00
Alicia Sykes 4932a86f3c 🚨 Removes rougue console.log (#581) 2022-04-03 16:04:01 +01:00
Alicia Sykes 4779434924 Adds backend support for status check redirects (Re: #494) 2022-03-13 21:58:40 +00:00
aterox a4e5402e5a Fix always true accident 2022-03-07 06:11:06 -05:00
aterox 6ee5286ebf Add redirection from http to https 2022-03-07 05:54:45 -05:00
aterox 50acc0f711 No longer requires a rebuild 2022-03-06 03:34:05 -05:00
aterox 6553f1463d No longer needed 2022-03-06 03:02:41 -05:00
aterox aeec449dc7 Pull conf.yml from server 2022-03-05 01:22:12 -05:00
Alicia Sykes c3b93e4164 🥅 Clearer info about any errors found in the config
This should make it easier for users to understand exactly where an issue is, and give clear instructions on how to fix it
2022-02-09 20:05:56 +00:00
Alicia Sykes 7f67ea6a5f Adds option for custom acceptCodes (#456) 2022-01-28 23:23:16 +00:00
Alicia Sykes 6cd9eac49b 🔒 Updates CORS proxy to use res.status 2022-01-21 13:00:26 +00:00
Alicia Sykes 6e310628f7 🎨 Updates how headers are applied to Netlify CORS proxy 2022-01-01 00:42:55 +00:00
Alicia Sykes 661b1aab07 🔥 Removes appended slash from URL 2022-01-01 00:41:56 +00:00
Alicia Sykes e3f2b910ec Adds Netlify support for proxying CORS requests 2021-12-31 22:23:39 +00:00
Alicia Sykes 676d1cb106 Writes a CORS proxy, to secure widget requests 2021-12-19 20:05:15 +00:00
Alicia Sykes e0b09d48ee Adds widget to fetch and display system stats 2021-12-16 04:03:36 +00:00
Alicia Sykes cc89edd296 Updates SSL server to get paths from env vars 2021-11-09 22:54:43 +00:00
Alicia Sykes 3593721fd7 🔒 Adds support for native SSL 2021-11-09 22:40:57 +00:00
Alicia Sykes 4667642dbe Refactors console-out into own function 2021-10-24 13:31:48 +01:00
Alicia Sykes 4900bf3200 Adds a cloud function for unsupported endpoints 2021-09-18 21:36:46 +01:00
Alicia Sykes 018041d025 Writes a cloud function to wrap the status-check endpoint 2021-09-18 21:36:20 +01:00
Alicia Sykes a8f7df4544 🔥 Removes ping-only check, accidental commit 2021-09-18 18:25:20 +01:00
Alicia Sykes 7272749325 Creates an endpoint to run ping-only status check 2021-09-17 23:51:02 +01:00
Alicia Sykes 17402fb8f7 🚚 Renamed services/ping --> status-check 2021-09-17 22:40:07 +01:00
Alicia Sykes 12bd1c2141 Removes background in console art 2021-09-03 23:49:29 +01:00
Alicia Sykes 11c26aeeee Uses HOST env var instead 2021-08-26 23:03:26 +01:00
Alicia Sykes f16059d5e9 Uses regex for parsing versions, as more efficient 2021-08-26 23:01:36 +01:00
Alicia Sykes e7557832d8 Re: #181 Option to ignore SSL in ping route 2021-08-26 22:17:16 +01:00
Alicia Sykes 7db441b493 ♻️ Moved config validator into services 2021-07-25 17:42:01 +01:00
Alicia Sykes d60ea923a8 Wrote quick script to check for updates 2021-07-25 17:40:10 +01:00
Alicia Sykes ec3db490b2 📓 Adds in-code docs to rebiuld app server function 2021-07-12 23:28:11 +01:00
Alicia Sykes c717134b08 ♻️ Refactors Docker healthcheck script 2021-07-12 23:27:33 +01:00
Alicia Sykes 0bb5f2bf55 🙃 Prints sexy ascii title on server start 2021-06-23 12:44:18 +01:00
Alicia Sykes f1f227d41f ♻️ Fixed console formatting in welcome message, and increaes size of config modal a bit 2021-06-20 20:45:50 +01:00
Alicia Sykes b0d5b63703 Adds an endpoint for rebuilding the app, so that it can be triggered from the UI 2021-06-19 19:21:32 +01:00
Alicia Sykes 760c464c19 Got the save config route working in the node server 2021-06-19 13:47:10 +01:00
Alicia Sykes 106103a7df Syntactic improvments, and linting ping.js 2021-06-19 13:46:02 +01:00
Alicia Sykes 77ca662f37 Adds server endpoint for backing up and saving conf.yml. Still needs some improvments though. 2021-06-18 18:01:42 +01:00
Alicia Sykes 856b9eb3c6 Refactors the main server.js, and moves welcome msg to separate file 2021-06-18 14:14:31 +01:00
Alicia Sykes 62c79527f2 Gernal refactoring 2021-06-14 20:46:59 +01:00
Alicia Sykes 1a64b54046 Wrote server functions for checking uptime 2021-06-14 20:42:02 +01:00