Ask coding questions

← Back to all posts
Repl X-Frame Configuration Options
h
Retrospicer (10)

Is there a way to set a node.js and/or a bash repl so it will only let specific sites put iframes of my repl site?(with Allow-From)

I've seen it be done with a .htaccess file (with header set x-frame-options ALLOW-FROM https://example.com) but I don't know if replit supports .htaccess files.

Thanks in advance!