Skip to content

Commit

Permalink
add note for servers with different base url
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Aug 27, 2024
1 parent 8c5e47d commit 36499c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h1>Lean Game Server</h1>
</p>
</div>
</noscript>
<script type="module" src="/client/src/index.tsx"></script>
<script type="module" src="client/src/index.tsx"></script>
</body>

</html>
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ export default defineConfig({
})
],
publicDir: "client/public",
base: "/", // setting this to `/leangame/` means the server is now accessible at `localhost:3000/leangame`
optimizeDeps: {
exclude: ['games']
},
Expand Down

0 comments on commit 36499c0

Please sign in to comment.