Browse Source

docs: fix 404

pull/38991/head
MadCcc 2 years ago
parent
commit
1f0fbd4dcf
  1. 4
      site/theme/template/Layout/index.tsx

4
site/theme/template/Layout/index.tsx

@ -32,6 +32,10 @@ if (typeof window !== 'undefined') {
location.href = location.href.replace('next.ant.design', 'ant.design');
}
if (!location.pathname.endsWith('/')) {
location.pathname += '/';
}
// eslint-disable-next-line global-require
require('../../static/style');

Loading…
Cancel
Save