Skip to content

Commit

Permalink
Add localhost as allowed origin in tomcat CORS filter
Browse files Browse the repository at this point in the history
  • Loading branch information
tgtshanika committed Sep 20, 2023
1 parent f6dd099 commit c891d5e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ allow_methods = ["GET", "PUT", "POST", "DELETE", "PATCH", "OPTIONS"]
allow_headers = ["authorization","Access-Control-Allow-Origin","Content-Type","SOAPAction","Authorization"]
allow_credentials = true

[cors]
allow_any_origin = false
allowed_origins = [
"http://localhost", "http://localhost:8080"
]

[apim.sdk]
supported_languages = ["android", "java", "csharp", "dart", "flash", "groovy", "javascript", "jmeter", "perl", "php", "python", "ruby", "swift5", "clojure"]

Expand Down

0 comments on commit c891d5e

Please sign in to comment.