From bc1f693d4e11cf72adb6eaa38a4b483a161d6a95 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 20 Nov 2023 17:28:50 -0500 Subject: [PATCH] fix edit links --- sites/svelte.dev/src/routes/auth/login/+server.js | 2 +- sites/svelte.dev/src/routes/docs/[slug]/+page.svelte | 2 +- sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sites/svelte.dev/src/routes/auth/login/+server.js b/sites/svelte.dev/src/routes/auth/login/+server.js index b549ff4202b1..25d8ea5bd131 100644 --- a/sites/svelte.dev/src/routes/auth/login/+server.js +++ b/sites/svelte.dev/src/routes/auth/login/+server.js @@ -21,7 +21,7 @@ export const GET = client_id

In order to use GitHub authentication, you will need to register an OAuth application and create a local .env file:

GITHUB_CLIENT_ID=[YOUR_APP_ID]\nGITHUB_CLIENT_SECRET=[YOUR_APP_SECRET]\nBASEURL=http://localhost:5173

The BASEURL variable should match the callback URL specified for your app.

-

See also here

+

See also here

`, { diff --git a/sites/svelte.dev/src/routes/docs/[slug]/+page.svelte b/sites/svelte.dev/src/routes/docs/[slug]/+page.svelte index ddcdadf14450..efae45dde75e 100644 --- a/sites/svelte.dev/src/routes/docs/[slug]/+page.svelte +++ b/sites/svelte.dev/src/routes/docs/[slug]/+page.svelte @@ -25,7 +25,7 @@
Edit this page on GitHub diff --git a/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte b/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte index 2ec28418d422..8ffc885672c6 100644 --- a/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte +++ b/sites/svelte.dev/src/routes/tutorial/[slug]/+page.svelte @@ -47,7 +47,7 @@ $: if (scrollable) data.tutorial, scrollable.scrollTo(0, 0); $: selected = lookup.get(data.slug); - $: improve_link = `https://github.com/sveltejs/svelte/tree/master/documentation/tutorial/${data.tutorial.dir}`; + $: improve_link = `https://github.com/sveltejs/svelte/tree/svelte-4/documentation/tutorial/${data.tutorial.dir}`; const clone = (file) => ({ name: file.name.replace(/.\w+$/, ''),