dev 环境路由配置还原 (#1355)

This commit is contained in:
liaoxuezhi 2021-01-10 18:24:02 +08:00 committed by GitHub
parent 38c673ef5f
commit 7417ff41c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
rewrite ^\/(?:zh-CN|en-US)?\/?(?:examples|docs|style|pageA|crud)(?:\/[a-z0-9\-_\/]+)?$ /sdk.html
rewrite ^\/(?:zh-CN|en-US)?\/?(?:examples|docs|style)(?:\/[a-z0-9\-_\/]+)?$ /examples/index.html
rewrite ^\/play$ /examples/index.html
rewrite ^\/edit$ /examples/index.html
@ -6,4 +6,4 @@ rewrite ^\/edit$ /examples/index.html
rewrite ^\/api\/ /mock/index.js
rewrite ^\/cxd /examples/cxd.html
rewrite ^\/$ /sdk.html
redirect ^\/$ /docs/index