We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7968c9a commit 26c95ddCopy full SHA for 26c95dd
rspack.config.ts
@@ -44,7 +44,7 @@ export default defineConfig({
44
jQuery: "jquery",
45
}),
46
new rspack.DefinePlugin({
47
- BASE_URL: JSON.stringify(process.env["BASE_URL"] ?? "/"),
+ BASE_URL: JSON.stringify(process.env["BASE_URL"] ?? ""),
48
49
],
50
resolve: {
scripts/author-list.ts
@@ -1,7 +1,7 @@
1
declare const BASE_URL: string;
2
3
export function loadAuthorList() {
4
- fetch(BASE_URL + "authors.json", {
+ fetch(BASE_URL + "/authors.json", {
5
method: "GET",
6
headers: { Accept: "application/json" },
7
})
0 commit comments