瀏覽代碼

'修改路由配置,适应前端base_url设置错误问题'

DYaiu 4 年之前
父節點
當前提交
72d3dbf246
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      my_project/urls.py

+ 2 - 2
my_project/urls.py

@@ -19,6 +19,6 @@ from django.urls import path, include
 
 urlpatterns = [
     path('admin/', admin.site.urls),
-    url(r'^report/', include('workreport.urls')),
-    url(r'^tree/',include('workTtree.urls'))
+    url(r'^', include('workreport.urls')),
+    url(r'^',include('workTtree.urls'))
 ]