Skip to content

[BUG] appConfig undefiend in router.js #688

Closed
@BaconFox

Description

I'm just getting started with Dashy and had the super basic starting config from Section 3 of quick-start.md. Dashy loaded fine but I never got a chance to dive into the config. I then updated the image to the latest (2.0.9) and found the container would start without error, but Dashy would not load in the browser (Firefox 100).

I noticed the following in the console:

Uncaught TypeError: _a.appConfig is undefined
    41cb router.js:107
    Webpack 8

I do not have appConfig defined in my config.yml, but the docs lead me to believe that should not be necessary.

As long as I define any property in appConfig, even an invalid one such as:

pageInfo:
  title: Home Lab
appConfig:
   someDef: someValue
sections: # An array of sections
- name: Example Section
<snip>

Dashy will load correctly.

Perhaps router.js:107 should be re-written to accept appConfig being undefined or perhaps the default value should be defined earlier for users getting started with very basic configs such as myself?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions