amis/mock/server.conf
吴多益 2db00c441c
chore: app 模式不再使用 react router,方便后续开发调试 (#3244)
* chore: app 模式不再使用 react router,方便后续开发调试

* chore: app 模式不再使用 react router,方便后续开发调试
2021-12-22 12:37:45 +08:00

12 lines
333 B
Plaintext

rewrite ^\/examples\/app\/$ /examples/app/index.html
rewrite ^\/(?:zh-CN|en-US)?\/?(?:examples|docs|components|style)(?:\/[a-z0-9\-_\/]+)?$ /examples/index.html
rewrite ^\/play$ /examples/index.html
rewrite ^\/edit$ /examples/index.html
rewrite ^\/api\/ /mock/index.js
rewrite ^\/cxd /examples/cxd.html
redirect ^\/$ /docs/index