No... The full story was: the URL spec tells the parser to give unknown protocols an opaque origin, so nothing ever matches 'self' 🤦♂️
I forked and added "tile" as a recognized scheme in the rust-url crate and the CSP from the tiles document works fine with the examples I tried.
Nope, not at Atmosphere. I'm "in the browser" as much as I can since I build a user agent based on @servo.org : tangled.org/me.webbeef.o...
I can add whatever we need :)
🦫 alert!
We published the 3rd episode of "Teach the Web new Tricks!", and it's about Web Tiles: webbeef.org/webtiles.html
A very promising solution to host your own sites in your ATProto PDS, and a stepping stone for composable web fragments.
Here's a quick video about it:
I made some changes to load the tiles from urls such as tile://3mcjwwoqjqs2v.robin.berjon.com/ for the minesweeper which looks nicer.
Now I just need to figure out why the CSP is causing issues...