Skip to content

Commit

Permalink
Use injected base path in router
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkar598 committed Jun 23, 2023
1 parent ea86f38 commit c24a4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as Emulator from "./vm/emulator";
import * as Command from "./vm/command";

const router = createRouter({
history: createWebHashHistory(),
history: createWebHashHistory(import.meta.env.BASE_URL),
routes: [
{
name: "edit",
Expand Down

0 comments on commit c24a4ad

Please sign in to comment.