add note for servers with different base url

This commit is contained in:
Jon Eugster
2024-08-27 14:52:20 +02:00
parent 8c5e47dd7b
commit 36499c0257
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
</p>
</div>
</noscript>
<script type="module" src="/client/src/index.tsx"></script>
<script type="module" src="client/src/index.tsx"></script>
</body>
</html>
+1
View File
@@ -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']
},