add note for servers with different base url

pull/259/head
Jon Eugster 6 months ago
parent 8c5e47dd7b
commit 36499c0257

@ -33,7 +33,7 @@
</p> </p>
</div> </div>
</noscript> </noscript>
<script type="module" src="/client/src/index.tsx"></script> <script type="module" src="client/src/index.tsx"></script>
</body> </body>
</html> </html>

@ -31,6 +31,7 @@ export default defineConfig({
}) })
], ],
publicDir: "client/public", publicDir: "client/public",
base: "/", // setting this to `/leangame/` means the server is now accessible at `localhost:3000/leangame`
optimizeDeps: { optimizeDeps: {
exclude: ['games'] exclude: ['games']
}, },

Loading…
Cancel
Save