Cross site embedding no longer works

The classic repl.co domain allowed embedding fonts from other repl.co domain websites, but with the new replit.app deployment system, this no longer works.

Embedding fonts from other replit.app domain websites fails.

What areas or features are involved to enable cross site embedding?

Hello @typedesign!

repl.co has been replaced with replit.dev and replit.app.

Yes, but the new replit.app domain no longer works with cross site embedding of fonts.

They’re aware of this, you can see it in their screenshot:

Are you using static Repls, or autoscale?

I’m using static repls to host my websites

Hmm. I’m not quite sure then, on an autoscale Repl I’d suggest adding a CORS response, but you can’t exactly do that on a static Repl.

2 Likes

I just updated my node template to include a CORS response, if you’re okay with forking and putting your files in that Repl’s public folder and deploying as autoscale instead.

1 Like