From 5e755b662b8e79bc2ce8c011ae8064ed7b0e10b8 Mon Sep 17 00:00:00 2001 From: Shunji Lin Date: Sat, 21 Dec 2024 01:48:11 +0900 Subject: [PATCH] fix: typo in warning log (#1507) --- voicevox_engine/app/middlewares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voicevox_engine/app/middlewares.py b/voicevox_engine/app/middlewares.py index 509e3d15a..d1fabe65a 100644 --- a/voicevox_engine/app/middlewares.py +++ b/voicevox_engine/app/middlewares.py @@ -42,7 +42,7 @@ async def global_execution_handler(request: Request, exc: Exception) -> Response if "*" in allow_origin: print( 'WARNING: Deprecated use of argument "*" in allow_origin. ' - 'Use option "--cors_policy_mod all" instead. See "--help" for more.', + 'Use option "--cors_policy_mode all" instead. See "--help" for more.', file=sys.stderr, )