Skip to content

Commit

Permalink
fix: add localhost at cors origins
Browse files Browse the repository at this point in the history
  • Loading branch information
baebae02 committed Nov 13, 2023
1 parent ba2711a commit 17ee74f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create_app():
app = Flask(__name__)
app.config.from_envvar('APP_CONFIG_FILE')
cors_origins = re.compile(r"https?://(\w+\.)*uspray\.kr")
CORS(app, origins=cors_origins)
CORS(app, origins=[cors_origins, "http://localhost:3000"])

# Swagger
authorizations = {
Expand Down

0 comments on commit 17ee74f

Please sign in to comment.