server url

This commit is contained in:
caoqianming 2020-05-27 23:57:17 +08:00
parent afd240b117
commit 1ba2a008e4
2 changed files with 2 additions and 2 deletions

View File

@ -174,4 +174,4 @@ MEDIA_URL = '/media/'
## 以下需要根据loonlfow的启动地址apptoken中的应用及token做相应修改
WORKFLOW_URL = "http://127.0.0.1:8888"
WORKFLOW_TOKEN = "716a22f8-5d58-11ea-a5c7-1063c8f02116"
WORKFLOW_APP="oa"
WORKFLOW_APP="oa"

View File

@ -38,4 +38,4 @@ urlpatterns = [
path('redirect/',redirect),
path('admin/', admin.site.urls),
path('docs/', include_docs_urls(title="答题平台接口文档",authentication_classes=[], permission_classes=[])),
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)+ static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)