Skip to content

Commit

Permalink
Update base path
Browse files Browse the repository at this point in the history
Ensures references use relative path
  • Loading branch information
microbit-robert committed Oct 9, 2024
1 parent c6c38b9 commit 4564abe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions simx/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ import react from "@vitejs/plugin-react";

// https://vitejs.dev/config/
export default defineConfig({
// Set base for GH Pages
base: process.env.GITHUB_ACTIONS
? "/makecode-microbit-ml-simulator/"
: undefined,
base: "./",
build: {
outDir: "dist",
sourcemap: true,
Expand Down

0 comments on commit 4564abe

Please sign in to comment.