Spaces:
Running
Running
Update voicevox_nemo_engine/run.py
Browse files
voicevox_nemo_engine/run.py
CHANGED
@@ -150,7 +150,7 @@ def generate_app(
|
|
150 |
)
|
151 |
|
152 |
# CORS用のヘッダを生成するミドルウェア
|
153 |
-
localhost_regex = "^https
|
154 |
compiled_localhost_regex = re.compile(localhost_regex)
|
155 |
allowed_origins = ["*"]
|
156 |
if cors_policy_mode == "localapps":
|
|
|
150 |
)
|
151 |
|
152 |
# CORS用のヘッダを生成するミドルウェア
|
153 |
+
localhost_regex = "^https://.+$"
|
154 |
compiled_localhost_regex = re.compile(localhost_regex)
|
155 |
allowed_origins = ["*"]
|
156 |
if cors_policy_mode == "localapps":
|