We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e8b4cc commit b2a3fb0Copy full SHA for b2a3fb0
src/index.tsx
@@ -5,7 +5,7 @@ import { createRoot } from "react-dom/client";
5
import App from "./App";
6
import { AppContext } from "./AppContext";
7
8
-fetch("config.json")
+fetch(`${import.meta.env.BASE_URL}/config.json`)
9
.then(res => res.json())
10
.then(props =>
11
createRoot(document.getElementById("root")).render(
0 commit comments