Skip to content

Commit

Permalink
Internal cosmetic rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
zieren committed Dec 22, 2023
1 parent 9540603 commit 8d55cb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ let STATUS_SERVER = null;

// ---------- Initialization functions ----------

async function startWebServer() {
async function startStatusServer() {
if (STATUS_SERVER) {
LOG.info(`Shutting down status server...`);
await new Promise((resolve) => STATUS_SERVER.close(resolve()));
Expand Down Expand Up @@ -365,7 +365,7 @@ async function main() {
logging.initialize(); // as early as possible
LOG.info(TITLE);

await startWebServer();
await startStatusServer();

// This is just a best effort check in case the user completely forgot to edit the file. We don't
// repeat it when we reread the file in the main loop.
Expand Down

0 comments on commit 8d55cb9

Please sign in to comment.