amis2/mock/server.conf

12 lines
333 B
Plaintext
Raw Permalink Normal View History

rewrite ^\/examples\/app\/$ /examples/app/index.html
rewrite ^\/(?:zh-CN|en-US)?\/?(?:examples|docs|components|style)(?:\/[a-z0-9\-_\/]+)?$ /examples/index.html
2020-11-30 00:37:09 +08:00
2019-04-30 11:11:25 +08:00
rewrite ^\/play$ /examples/index.html
rewrite ^\/edit$ /examples/index.html
rewrite ^\/api\/ /mock/index.js
2020-11-30 00:37:09 +08:00
rewrite ^\/cxd /examples/cxd.html
2021-01-10 18:24:02 +08:00
redirect ^\/$ /docs/index