docusaurus/config: добавление значения по умолчанию для url

This commit is contained in:
2026-06-17 18:09:47 +03:00
parent f6436d0c83
commit a038e7eaae
+1 -1
View File
@@ -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;