diff --git a/reflex/constants/compiler.py b/reflex/constants/compiler.py index d98c04d76..13982eab8 100644 --- a/reflex/constants/compiler.py +++ b/reflex/constants/compiler.py @@ -36,7 +36,7 @@ class CompileVars(SimpleNamespace): # The expected variable name where the rx.App is stored. APP = "app" # The expected variable name where the API object is stored for deployment. - API = "api" + API = "_api" # The name of the router variable. ROUTER = "router" # The name of the socket variable.