Skip to content

Commit

Permalink
Fix react base path
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenQ42 committed Oct 4, 2024
1 parent d8fccaa commit 8f1f6e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/5.0/react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineConfig(({ command }) => ({
'shared': path.resolve(rootDir, './shared'),
}
},
base: command === 'build' ? 'https://q42.github.io/Eicon.tech-station-game-poc/' : undefined,
base: command === 'build' ? 'https://q42.github.io/Micrio.Templates/client/5.0/react/' : undefined,
build: {
outDir: command === 'build' ? path.resolve(rootDir, './dist/client/5.0/react') : undefined,
}
Expand Down
2 changes: 1 addition & 1 deletion client/5.0/svelte/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<h2 id="demo">Demo</h2>
<span>
<a href="demo">View demo</a> | <a href={githubRoot + "/src/examples/demo"}>View source</a>
<a href="demo">View demo</a> | <a href={githubRoot + "/src/routes/demo"}>View source</a>
</span>
</div>
</main>

0 comments on commit 8f1f6e4

Please sign in to comment.