Skip to content

Commit 0cfb420

Browse files
committed
chore: Do not throw in config file
1 parent 677369e commit 0cfb420

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

markdown-confluence-sync.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
const DOCS_HOST = process.env.DOCS_HOST;
44

5-
if (!DOCS_HOST) {
6-
throw new Error("DOCS_HOST environment variable is not set");
7-
}
8-
95
module.exports = {
106
confluence: {
117
noticeTemplate: `NOTICE: This page is synced automatically with content from <a href="${DOCS_HOST}/docs/{{relativePathWithoutExtension}}.html" target="_blank">${DOCS_HOST}/docs/{{relativePathWithoutExtension}}.html</a>. Changes made manually will be lost, you should <a href="https://github.com/Telefonica/cross-idp/edit/main/components/website-static/docs/{{relativePath}}" target="_blank">edit this page in Github</a> instead.`,

0 commit comments

Comments
 (0)