Skip to content

Commit

Permalink
Fixup envs
Browse files Browse the repository at this point in the history
  • Loading branch information
ridoo committed Feb 19, 2025
1 parent 863c9a4 commit 9dfbef8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- name: Build app
run: pnpm build
env:
BASENAME: ${{vars.BASENAME}}
VITE_GEONODE_BASE_URL: ${{vars.GEONODE_BASE_URL}}
VITE_PKCE_CONFIG_REDIRECT_URL: ${{vars.VITE_PKCE_CONFIG_REDIRECT_URL}}
VITE_PKCE_CONFIG_CLIENT_ID: ${{vars.VITE_PKCE_CONFIG_CLIENT_ID}}
Expand Down
5 changes: 0 additions & 5 deletions src/samples/catalog/catalog-app/constants.ts

This file was deleted.

2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default defineConfig(({ mode }) => {
envDir: __dirname,

// Generates relative urls in html etc.
base: "./",
base: process.env.BASENAME || "./",

// Vite's build output is written to dist/www
build: {
Expand Down

0 comments on commit 9dfbef8

Please sign in to comment.