Skip to content

Commit 17ee74f

Browse files
committed
fix: add localhost at cors origins
1 parent ba2711a commit 17ee74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def create_app():
2020
app = Flask(__name__)
2121
app.config.from_envvar('APP_CONFIG_FILE')
2222
cors_origins = re.compile(r"https?://(\w+\.)*uspray\.kr")
23-
CORS(app, origins=cors_origins)
23+
CORS(app, origins=[cors_origins, "http://localhost:3000"])
2424

2525
# Swagger
2626
authorizations = {

0 commit comments

Comments
 (0)