浏览代码

Add comment

David Kincaid 1 年之前
父节点
当前提交
033d572b55
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      nicegui/run.py

+ 1 - 0
nicegui/run.py

@@ -97,6 +97,7 @@ def run(*,
     if 'all' in endpoint_documentation:
         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:
         if route.path.startswith('/_nicegui'):
             if hasattr(route, 'methods'):