Revert "set content security policy"

This reverts commit fefd5245e6.
main
Lee Hanken 2022-01-27 13:39:46 +00:00
parent 974620b93f
commit 10ec344c38
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ app.use(rateLimiter)
app.get('/', (req, res) => {
url = req.query.url;
res.header("Access-Control-Allow-Origin", '*');
res.header("Content-Security-Policy", 'connect-src *');
res.header("Access-Control-Expose-Headers", 'X-Title');
if (url && validURL(url)) {
read_url(url, res);