amis/mock/server.conf

10 lines
279 B
Plaintext
Raw Normal View History

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