Skip to content

Commit

Permalink
fix: 🐛 Fix base path for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Aderinom committed Mar 3, 2024
1 parent fcec504 commit d79ae03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import svgr from "vite-plugin-svgr";
import tsconfigPaths from "vite-tsconfig-paths";


const repo : string | undefined= process.env["GITHUB_REPOSITORY"]?.split("/")[0]; // owner/repo
const repo : string | undefined= process.env["GITHUB_REPOSITORY"]?.split("/")[1]; // owner/repo


// https://vitejs.dev/config/
Expand Down

0 comments on commit d79ae03

Please sign in to comment.