Skip to content

Commit 42271d9

Browse files
authored
Update preview endpoints. (#1165)
1 parent 77c20d8 commit 42271d9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.env.preview

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
EP_SESSIONS_API="https://static.europython.eu/programme/ep2025/releases/current/sessions.json"
2-
EP_SPEAKERS_API="https://static.europython.eu/programme/ep2025/releases/current/speakers.json"
1+
EP_SESSIONS_API="https://static.europython.eu/programme/ep2024/releases/current/sessions.json"
2+
EP_SPEAKERS_API="https://gist.githubusercontent.com/nikoshell/24f8c99de3758dc4ed1391876c382b43/raw/bdf11fe89e5010f35dc1351e9b71c02a19adefe2/24speakers.json"
3+
EP_SCHEDULE_API="https://static.europython.eu/programme/ep2024/releases/current/schedule.json"

src/content/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,10 @@ const speakers = defineCollection({
109109
submissions: z.array(reference("sessions")),
110110
affiliation: z.string().nullable(),
111111
homepage: z.string().nullable(),
112-
gitx_url: z.string().url().nullable(),
112+
gitx_url: z.string().url().nullable().optional(),
113113
linkedin_url: z.string().url().nullable(),
114114
mastodon_url: z.string().url().nullable(),
115-
bluesky_url: z.string().url().nullable(),
115+
bluesky_url: z.string().url().nullable().optional(),
116116
twitter_url: z.string().url().nullable(),
117117
}),
118118
});

0 commit comments

Comments
 (0)