Spaces:
Running
Running
Tony Powell
commited on
Commit
·
d4d27f0
1
Parent(s):
93de5c3
Add dist to base url
Browse files- dist/index.html +3 -3
- vite.config.ts +1 -0
dist/index.html
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
<html lang="en" class="dark">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Vite + React + TS</title>
|
| 8 |
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
| 9 |
-
<script type="module" crossorigin src="/index-DhfoEE7l.js"></script>
|
| 10 |
-
<link rel="stylesheet" crossorigin href="/index-DSjPP0Hm.css">
|
| 11 |
</head>
|
| 12 |
<body>
|
| 13 |
<div id="root"></div>
|
|
|
|
| 2 |
<html lang="en" class="dark">
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8" />
|
| 5 |
+
<link rel="icon" type="image/svg+xml" href="/dist/vite.svg" />
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
| 7 |
<title>Vite + React + TS</title>
|
| 8 |
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
| 9 |
+
<script type="module" crossorigin src="/dist/index-DhfoEE7l.js"></script>
|
| 10 |
+
<link rel="stylesheet" crossorigin href="/dist/index-DSjPP0Hm.css">
|
| 11 |
</head>
|
| 12 |
<body>
|
| 13 |
<div id="root"></div>
|
vite.config.ts
CHANGED
|
@@ -13,4 +13,5 @@ export default defineConfig(() => ({
|
|
| 13 |
build: {
|
| 14 |
assetsDir: ".",
|
| 15 |
},
|
|
|
|
| 16 |
}));
|
|
|
|
| 13 |
build: {
|
| 14 |
assetsDir: ".",
|
| 15 |
},
|
| 16 |
+
base: "/dist/",
|
| 17 |
}));
|