Skip to content

Commit

Permalink
fix: edit cors origin compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
baebae02 committed Nov 13, 2023
1 parent eabc625 commit ba2711a
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 @@ -19,7 +19,7 @@
def create_app():
app = Flask(__name__)
app.config.from_envvar('APP_CONFIG_FILE')
cors_origins = re.compile(r"https?://(\w+\.)?uspray\.com")
cors_origins = re.compile(r"https?://(\w+\.)*uspray\.kr")
CORS(app, origins=cors_origins)

# Swagger
Expand Down

0 comments on commit ba2711a

Please sign in to comment.