keyboardio / Chrysalis

Graphical configurator for Kaleidoscope-powered keyboards
https://github.com/keyboardio/Chrysalis#chrysalis
GNU General Public License v3.0
497 stars 65 forks source link

renderer/config: Fix the paths returned by getStaticPath() #1265

Closed algernon closed 1 year ago

algernon commented 1 year ago

In development mode, the static path must be a relative path, and in production builds, it needs to be relative to __dirname, otherwise static files will not be found.

This fixes - among other things - the ChangeLog screen.

github-actions[bot] commented 1 year ago

Build artifacts for this pull request are available!

:warning: These are not official builds!

The build artifacts are provided as-is, for testing and reviewing purposes. They contain code that has not been reviewed or audited by Chrysalis' developers. They are not endorsed by Keyboardio, they are not signed. Install and use them only if you know what you are doing.

You can download the platform-specific build artifacts from GitHub for 90 days after the date of this message from the following URL: https://github.com/keyboardio/Chrysalis/actions/runs/4901424447#artifacts