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