Skip to content

Commit

Permalink
Fix: BASE_URLの後にスラッシュは要らない
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenc-nanashi committed Nov 6, 2024
1 parent 4ec4cdc commit 27922a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useDownloadData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type DownloadData = {

const downloadDataRef = ref<DownloadData[] | null>(null);

void fetch(`${import.meta.env.BASE_URL}/preview/downloads.json`).then(
void fetch(`${import.meta.env.BASE_URL}preview/downloads.json`).then(
async (response) => {
if (!response.ok) {
throw new Error(`Failed to fetch downloads.json: ${response.statusText}`);
Expand Down

0 comments on commit 27922a7

Please sign in to comment.