Skip to content

Commit

Permalink
fix: add CORS allow to all (*)
Browse files Browse the repository at this point in the history
  • Loading branch information
berezins committed Aug 16, 2024
1 parent 9215b08 commit 57b9244
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ jobs:
- name: upload
run: |-
gsutil rsync -r src gs://subsquid-public
- name: cors
run: |-
gsutil cors set cors.json gs://subsquid-public
8 changes: 8 additions & 0 deletions cors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[
{
"origin": ["*"],
"method": ["GET", "HEAD", "OPTIONS"],
"responseHeader": ["Content-Type"],
"maxAgeSeconds": 3600
}
]

0 comments on commit 57b9244

Please sign in to comment.