docusaurus/config: добавление значения по умолчанию для url
This commit is contained in:
@@ -16,7 +16,7 @@ const docsConfig = yaml.load(fs.readFileSync('./.docuservix.yml', 'utf8')) as Do
|
||||
|
||||
const { title } = docsConfig;
|
||||
|
||||
const url = process.env.DOCUSERVIX_URL;
|
||||
const url = process.env.DOCUSERVIX_URL || 'http://example.com';
|
||||
|
||||
const { org, repo } = docsConfig.project;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user