Spaces:
Sleeping
Sleeping
Commit ·
12dc5da
1
Parent(s): 6dd47b9
Fix blank screen: Set Vite base to relative paths for HF iframes
Browse files
toothmap_frontend/vite.config.js
CHANGED
|
@@ -4,4 +4,5 @@ import react from '@vitejs/plugin-react'
|
|
| 4 |
// https://vite.dev/config/
|
| 5 |
export default defineConfig({
|
| 6 |
plugins: [react()],
|
|
|
|
| 7 |
})
|
|
|
|
| 4 |
// https://vite.dev/config/
|
| 5 |
export default defineConfig({
|
| 6 |
plugins: [react()],
|
| 7 |
+
base: "./",
|
| 8 |
})
|