diff --git a/mock/server.conf b/mock/server.conf index 284d670f8..3ad371c33 100644 --- a/mock/server.conf +++ b/mock/server.conf @@ -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