Skip to content

Commit

Permalink
not sure if this is the fix, but maybe?
Browse files Browse the repository at this point in the history
  • Loading branch information
fhennig committed Dec 10, 2024
1 parent a4e4078 commit 311c7b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/.env.docker
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
CONFIG_DIR=/config
PUBLIC_CONFIG_DIR=/config
LOG_DIR=/log
LOG_LEVEL=debug
2 changes: 1 addition & 1 deletion website/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let _config: WebsiteConfig | null = null;
let _runtimeConfig: RuntimeConfig | null = null;

function getConfigDir(): string {
const configDir = import.meta.env.CONFIG_DIR;
const configDir = import.meta.env.PUBLIC_CONFIG_DIR;
if (typeof configDir !== 'string' || configDir === '') {
throw new Error(`CONFIG_DIR environment variable was not set during build time, is '${configDir}'`);
}
Expand Down

0 comments on commit 311c7b0

Please sign in to comment.