Skip to content

Commit

Permalink
fix(dicty-frontpage): change base path in vite.config.ts from "/stock…
Browse files Browse the repository at this point in the history
…center" to "/"

The DEPLOY_ENV variable was removed from .env.development as it was no
longer needed in the development environment. The base path in
vite.config.ts was changed to "/" to ensure that the application is
served from the root path, which simplifies the routing structure and
makes the application more accessible.
  • Loading branch information
cybersiddhu committed Feb 12, 2024
1 parent 2a3246f commit 366d9b2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion apps/dicty-frontpage/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ VITE_APP_LOGTO_API_FIRST_RESOURCE="https://user.dictybase.dev/api"
VITE_APP_LOGTO_API_SECOND_RESOURCE="https://content.dictybase.dev/api"
VITE_APP_FOOTER_JSON='https://raw.githubusercontent.com/dictyBase/migration-data/master/footer/footer-condensed.json'
VITE_APP_NAVBAR_JSON='https://raw.githubusercontent.com/dictyBase/migration-data/master/navbar/navbar.json'
DEPLOY_ENV='development'
2 changes: 1 addition & 1 deletion apps/dicty-frontpage/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const viteConfig = defineConfig({
server: {
port: 3003,
},
base: "/stockcenter",
base: "/",
})

const vitestConfig = defineVitestConfig({
Expand Down

0 comments on commit 366d9b2

Please sign in to comment.