From 0e12e3a53195466c86ff60f2d4b2ddf7b0c5ccb3 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Tue, 10 Feb 2026 19:51:05 +0000 Subject: [PATCH] Improved error message. --- fastapi-vue/fastapi_vue/staticfiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastapi-vue/fastapi_vue/staticfiles.py b/fastapi-vue/fastapi_vue/staticfiles.py index eaf813c..9290881 100644 --- a/fastapi-vue/fastapi_vue/staticfiles.py +++ b/fastapi-vue/fastapi_vue/staticfiles.py @@ -276,6 +276,6 @@ def _devmode_respond(request: Request, name=""): return JSONResponse( status_code=409, content={ - "detail": "Frontend assets served by Vite in debug mode. You are on backend, connect to frontend instead." + "detail": "[devmode] Not serving frontend files here. Should you connect to Vite instead?" }, )