mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-17 09:33:38 -05:00
refactor: load web UI assets with a relative URL to allow for hosting under a different path.
Might fix #53.
This commit is contained in:
@@ -4,6 +4,7 @@ import react from "@vitejs/plugin-react-swc";
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
base: "./",
|
||||
build: {
|
||||
rollupOptions: {
|
||||
// https://stackoverflow.com/q/69614671/vite-without-hash-in-filename#75344943
|
||||
|
||||
Reference in New Issue
Block a user