Skip to content

Commit

Permalink
adding vercel url env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
mbonig committed Nov 17, 2022
1 parent b5bd7ad commit af8aafb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const stackOverflowUrl = 'https://stackoverflow.com/questions/tagged/winglang';
const config = {
title: 'Wing',
tagline: 'Maximum cloud, minimum DevOps',
url: process.env.DOCUSAURUS_URL || 'https://docs.winglang.io',
url: process.env.DOCUSAURUS_URL || `https://${process.env.VERCEL_URL}` || 'https://docs.winglang.io',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
Expand Down

0 comments on commit af8aafb

Please sign in to comment.