From 7b29359fbcd1da8a0005bfc95cb4fbd2780b4df6 Mon Sep 17 00:00:00 2001 From: Yangshun Date: Fri, 28 May 2021 20:53:20 +0800 Subject: [PATCH] website: change domain --- README.md | 2 +- website/docusaurus.config.js | 5 +++-- website/static/CNAME | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 website/static/CNAME diff --git a/README.md b/README.md index 81245e13e..a8160343f 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@

- Read on the website + Read on the website

diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 648a9a346..0d63a329b 100755 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -2,11 +2,12 @@ module.exports = { title: 'Front End Interview Handbook', tagline: 'Almost complete answers to "Front-end Job Interview Questions" which you can use to interview potential candidates, test yourself or completely ignore', - url: 'https://yangshun.github.io', - baseUrl: '/front-end-interview-handbook/', + url: 'https://frontendinterviewhandbook.com', + baseUrl: '/', favicon: 'img/favicon.png', organizationName: 'yangshun', projectName: 'front-end-interview-handbook', + onBrokenLinks: 'ignore', themeConfig: { prism: { theme: require('prism-react-renderer/themes/github'), diff --git a/website/static/CNAME b/website/static/CNAME new file mode 100644 index 000000000..64b028b3d --- /dev/null +++ b/website/static/CNAME @@ -0,0 +1 @@ +frontendinterviewhandbook.com \ No newline at end of file