-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor behaviour of loading static files from disk vs. embedding.
Ref: #409 - Introduce `main.appDir` and `main.fronendDir` Go compile-time flags to hardcode custom paths for loading frontend assets (frontend/dist/frontend in the repo after build) and app assets (queries.sql, schema.sql, config.toml.sample) in environments where embedding files in the binary is not feasible. These default to CWD unless explicitly set during compilation. - Fix the Vue favicon path oddity by copying the icon into the built frontend dir in the `make-frontend` step.
- Loading branch information
Showing
4 changed files
with
95 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters