-
-
Notifications
You must be signed in to change notification settings - Fork 660
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1528 from bluprince13/feature/1511_ability-to-dis…
…able-data-share-buttons Disable buttons/links to share data with other websites depending on environment variables
- Loading branch information
Showing
12 changed files
with
95 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
MERMAID_DOMAIN="mermaid.live" | ||
MERMAID_ANALYTICS_URL="https://p.mermaid.live" | ||
MERMAID_DOMAIN='' | ||
MERMAID_ANALYTICS_URL='' | ||
MERMAID_RENDERER_URL='https://mermaid.ink' | ||
MERMAID_KROKI_RENDERER='https://kroki.io' | ||
MERMAID_IS_ENABLED_MERMAID_CHART_LINKS='' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,4 @@ yarn-error.log | |
/snapshots.js | ||
/cypress/downloads | ||
/cypress/videos | ||
/cypress/screenshots | ||
/cypress/screenshots |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[build.environment] | ||
MERMAID_ANALYTICS_URL = 'https://p.mermaid.live' | ||
MERMAID_DOMAIN = 'mermaid.live' | ||
MERMAID_RENDERER_URL = 'https://mermaid.ink' | ||
MERMAID_KROKI_RENDERER_URL = 'https://kroki.io' | ||
MERMAID_IS_ENABLED_MERMAID_CHART_LINKS ='true' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export const env = { | ||
rendererUrl: import.meta.env.MERMAID_RENDERER_URL ?? 'https://mermaid.ink', | ||
krokiRendererUrl: import.meta.env.MERMAID_KROKI_RENDERER_URL ?? 'https://kroki.io', | ||
rendererUrl: import.meta.env.MERMAID_RENDERER_URL ?? '', | ||
krokiRendererUrl: import.meta.env.MERMAID_KROKI_RENDERER_URL ?? '', | ||
analyticsUrl: import.meta.env.MERMAID_ANALYTICS_URL ?? '', | ||
domain: import.meta.env.MERMAID_DOMAIN ?? 'mermaid.live' | ||
domain: import.meta.env.MERMAID_DOMAIN ?? '', | ||
isEnabledMermaidChartLinks: import.meta.env.MERMAID_IS_ENABLED_MERMAID_CHART_LINKS == 'true' | ||
} as const; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters