Skip to content

Commit 26c95dd

Browse files
author
Stuart Reilly
committed
Move the slashes
1 parent 7968c9a commit 26c95dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rspack.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default defineConfig({
4444
jQuery: "jquery",
4545
}),
4646
new rspack.DefinePlugin({
47-
BASE_URL: JSON.stringify(process.env["BASE_URL"] ?? "/"),
47+
BASE_URL: JSON.stringify(process.env["BASE_URL"] ?? ""),
4848
}),
4949
],
5050
resolve: {

scripts/author-list.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
declare const BASE_URL: string;
22

33
export function loadAuthorList() {
4-
fetch(BASE_URL + "authors.json", {
4+
fetch(BASE_URL + "/authors.json", {
55
method: "GET",
66
headers: { Accept: "application/json" },
77
})

0 commit comments

Comments
 (0)