-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix v4 site links #13992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix v4 site links #13992
Conversation
|
@@ -11,7 +11,7 @@ | |||
|
|||
$: { | |||
if (repl) { | |||
fetch(`/examples/api/${id}.json`) | |||
fetch(`https://svelte.dev/playground/api/${id}.json`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do these endpoints allow CORS?
This also seems like it would make the main site's examples appear here in the v4 site, which we presumably don't want to do, because they'd have runes syntax. I think we need to be doing something else here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just remove the examples section then 😄 it's not like this landing page needs to sell anything anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found a nice easy solution dc321b2
this should be the last step before we're able to publish v4 docs