Skip to content

Commit 5976de8

Browse files
PuruVJRich HarrisRich-Harris
authored
feat(site-2): Fully remove api.svelte.dev (#8432)
* Localize the examples dependents * Localize FAQ * Try to fix examples API * Remove examples api * Prerender, use vercel adapter, disable PUT action for now * Don't call get_examples_data on top * Move repl PUT to its own routew * Don't prerender REPL page * Change console warn * Prerender tutorial the smart way * Use getContext in root * work around some weird content encoding glitch * Try the pre-generate route * Apply the suggestions * Fix embed examples * Remove comment * remove commented-out code * Update sites/svelte.dev/src/routes/_components/Demo.svelte Co-authored-by: Rich Harris <[email protected]> * remove unused code * add note to self, remove ts-ignore * move adapter-vercel to devDependencies * remove some unused deps * huh we need flexsearch after all? weird * we need sourcemap-codec as well — what the hell. are these deps missing from a dep? --------- Co-authored-by: Rich Harris <[email protected]> Co-authored-by: Rich Harris <[email protected]>
1 parent 9793b41 commit 5976de8

32 files changed

+8791
-7267
lines changed

sites/svelte.dev/.env

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,5 @@ GITHUB_CLIENT_SECRET=
1313
SUPABASE_URL=https://kpaaohfbmxvespqoqdzp.supabase.co
1414
SUPABASE_KEY=
1515

16-
PUBLIC_API_BASE="https://api.svelte.dev"
17-
1816
# client-side
1917
VITE_MAPBOX_ACCESS_TOKEN=

sites/svelte.dev/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99
/src/routes/_components/Supporters/contributors.js
1010
/src/routes/_components/Supporters/donors.jpg
1111
/src/routes/_components/Supporters/donors.js
12+
.vercel
13+
examples-data.js

0 commit comments

Comments
 (0)