const Backbone = require("backbone");

module.exports = class StationConfig extends Backbone.Model {
  urlRoot = '/api/stations';

  defaults() {
    return {
      'darkStartHour': 21,
      'darkEndHour': 6
    }
  };
};

const Backbone = require("backbone");

module.exports = class StationConfig extends Backbone.Model {
  urlRoot = 'api/stations';

  defaults() {
    return {
      'darkStartHour': 21,
      'darkEndHour': 6
    }
  };
};

Fix bug where station config wouldn't load when loaded in a subdirectory
Fix bug where station config wouldn't load when loaded in a subdirectory
