Skip to content

Commit

Permalink
Version 0.9.58
Browse files Browse the repository at this point in the history
- Fixed loading screen before a primary server is selected.
  • Loading branch information
jhuckaby committed Aug 1, 2024
1 parent 26aded4 commit b485288
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion lib/api/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ module.exports = Class.create({

// if there is no master server, this has to fail (will be polled for retries)
if (!this.multi.masterHostname) {
return callback({ code: 'master', description: "No master server found" });
var resp = { code: 'master', description: "No master server found" };
var payload = 'app.receiveConfig(' + JSON.stringify(resp) + ');' + "\n";
return callback( "200 OK", { 'Content-Type': 'text/javascript' }, payload );
}

var resp = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Cronicle",
"version": "0.9.57",
"version": "0.9.58",
"description": "A simple, distributed task scheduler and runner with a web based UI.",
"author": "Joseph Huckaby <jhuckaby@gmail.com>",
"homepage": "https://github.com/jhuckaby/Cronicle",
Expand Down

0 comments on commit b485288

Please sign in to comment.