Skip to content

Commit

Permalink
vite config - deply to root domain
Browse files Browse the repository at this point in the history
  • Loading branch information
eimrek committed Dec 13, 2024
1 parent a051af1 commit a27bbe9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@ import react from "@vitejs/plugin-react";

export default defineConfig({
plugins: [react()],
base: process.env.BRANCH_SUBPATH
? `/discover-mc2d-react/${process.env.BRANCH_SUBPATH}`
: "/",
base: process.env.BRANCH_SUBPATH || "/",
});

0 comments on commit a27bbe9

Please sign in to comment.