add note for servers with different base url
This commit is contained in:
+1
-1
@@ -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>
|
||||
|
||||
@@ -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']
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user