We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06aac64 commit b3aa1cfCopy full SHA for b3aa1cf
1 file changed
docs/docusaurus.config.ts
@@ -15,10 +15,12 @@ const config: Config = {
15
},
16
17
// Set the production url of your site here
18
- url: 'https://siddhantbg.github.io',
+ url: process.env.VERCEL_URL
19
+ ? `https://${process.env.VERCEL_URL}`
20
+ : 'https://siddhantbg.github.io',
21
// Set the /<baseUrl>/ pathname under which your site is served
22
// For GitHub pages deployment, it is often '/<projectName>/'
- baseUrl: '/remove-comments-cli/',
23
+ baseUrl: process.env.VERCEL ? '/' : '/remove-comments-cli/',
24
25
// GitHub pages deployment config.
26
// If you aren't using GitHub pages, you don't need these.
0 commit comments