Browse Source

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

DYaiu 4 years ago
parent
commit
72d3dbf246
1 changed files with 2 additions and 2 deletions
  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'))
 ]