Skip to content

Commit 54ddb8c

Browse files
committed
fix: add bun.lock to .gitignore
fix: fetch schedule data from official API endpoint
1 parent 3e3a009 commit 54ddb8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ pnpm-debug.log*
2727
astro_tmp_pages_*
2828

2929
*.swp
30+
bun.lock

src/components/home/Schedule.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const t = getLocale(Astro.url);
2626
// Fetch schedule data dynamically from the API endpoint
2727
let scheduleData: ScheduleData;
2828
try {
29-
const response = await fetch(`${Astro.site?.origin || 'http://localhost:4321'}/2025/schedule.json`);
29+
const response = await fetch('https://sitcon.camp/2025/schedule.json');
3030
if (!response.ok) {
3131
throw new Error(`Failed to fetch schedule: ${response.status}`);
3232
}

0 commit comments

Comments
 (0)