mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
dev 环境路由配置还原 (#1355)
This commit is contained in:
parent
38c673ef5f
commit
7417ff41c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user