Skip to content

Commit

Permalink
Merge pull request #2614 from akostadinov/backports
Browse files Browse the repository at this point in the history
enable CORS setup for stg
  • Loading branch information
akostadinov authored Sep 15, 2021
2 parents 86224b3 + e977f88 commit d97943f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config/docker/cors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
cors: &default
enabled: false
allow:
- origins: '*'
resources:
- !ruby/regexp /\.(?:woff2?|otf|ttf|svg|eot)$/
headers: 'x-requested-with'
methods: :get
max_age: 3628800
credentials: false

development:
<<: *default

test:
<<: *default

production:
<<: *default
enabled: true

preview:
<<: *default
enabled: true

0 comments on commit d97943f

Please sign in to comment.