Skip to content

Commit

Permalink
feat(web): allow CORS for all routes
Browse files Browse the repository at this point in the history
  • Loading branch information
spicyzboss committed Jan 23, 2024
1 parent c46f4c0 commit f67dda9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions apps/root/public/_headers
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# https://developers.cloudflare.com/pages/platform/headers/

/*
Access-Control-Allow-Origin: *

/build/*
Cache-Control: public, max-age=31536000, s-maxage=31536000, immutable
2 changes: 1 addition & 1 deletion apps/root/public/_redirects
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# https://developers.cloudflare.com/pages/platform/redirects/

/.well-known/nostr.json https://archive.spicyz.io/nostr.json 302
/.well-known/nostr.json https://archive.spicyz.io/nostr.json

0 comments on commit f67dda9

Please sign in to comment.