David Kincaid hai 1 ano
pai
achega
033d572b55
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      nicegui/run.py

+ 1 - 0
nicegui/run.py

@@ -97,6 +97,7 @@ def run(*,
     if 'all' in endpoint_documentation:
     if 'all' in endpoint_documentation:
         endpoint_documentation = 'internal page'  # any additional documentation groups need to be added here
         endpoint_documentation = 'internal page'  # any additional documentation groups need to be added here
 
 
+    # routes are already created by this point, so we have to iterate through and fix them
     for route in globals.app.routes:
     for route in globals.app.routes:
         if route.path.startswith('/_nicegui'):
         if route.path.startswith('/_nicegui'):
             if hasattr(route, 'methods'):
             if hasattr(route, 'methods'):