-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
feat: bring over examples #294
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
We can always do 307s instead? |
Yeah I'd prefer that honestly |
During implementing this I stumbled upon (what I think is) a SvelteKit bug:
and |
@@ -0,0 +1,7 @@ | |||
<script> | |||
let src = '/tutorial/image.gif'; |
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.
this doesn't work — cross-origin isolation gremlins strike again
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.
... and this time it's impossible to get it working because we can't add the relaxed
attribute on the iframe for security reasons.
I really think we need to make navigations to the SvelteKit tutorial full page reloads, and navigations away from it, too, and only set the headers on the SvelteKit tutorial. That would solve all this iframe/img/audio/video bullshit we had to deal with the last days. I don't expect people to quickly jump back and forth between that tutorial and something else, so it will be fine in practise.
gah. would be good to get that repro'd and filed if you have the bandwidth |
Didn't do the other changes because:
As for vesting content: Should I remove all examples except hello world so we can merge the ground-work and then iterate on examples separately?
|
super confused by the deploy failure. it's complaining about a bad link that doesn't exist AFAICT |
weiiirrddd, the link is there in the prod build but not in dev. investigating |
We can leave them in for now but I'll open a separate issue so we remember to sort through them |
good to go from my side then |
closes #27
Side note: I'm a bit wary of all these 308 redirects we're doing - if we ever decide we want to reuse those pages for something else, we can't, because caches all over the world will still redirect.