Revert "Import baseUrl from config"

This reverts commit 73c867ebc8.
This commit is contained in:
rmt/src 2023-06-19 08:45:09 +01:00
parent 73c867ebc8
commit 78ab0c8186
No known key found for this signature in database
GPG key ID: 6DD597637A8B880A
3 changed files with 4 additions and 6 deletions

View file

@ -63,8 +63,7 @@ export const config = figue({
.loadEnv({
...import.meta.env,
// Because the string 'import.meta.env.PACKAGE_VERSION' is statically replaced during build time (see 'define' in vite.config.ts)
PACKAGE_VERSION: import.meta.env?.PACKAGE_VERSION,
BASE_URL: import.meta.env?.BASE_URL || process.env.BASE_URL,
PACKAGE_VERSION: import.meta.env.PACKAGE_VERSION,
})
.validate()
.getConfig();