mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-02 02:00:31 +08:00
Add supportWebsite config param
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
If you need help resolving this issue, copy the error message
|
||||
<br />
|
||||
below and send it to us on
|
||||
<ExternalLink href="https://radicle.zulipchat.com">
|
||||
radicle.zulipchat.com
|
||||
<ExternalLink href={config.supportWebsite}>
|
||||
{config.supportWebsite}
|
||||
</ExternalLink>
|
||||
</div>
|
||||
<div style:max-width="25rem">
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"supportWebsite": "https://radicle.zulipchat.com",
|
||||
"reactions": ["👍", "👎", "😄", "🎉", "🙁", "🚀", "👀"],
|
||||
"fallbackPreferredSeed": {
|
||||
"hostname": "seed.radicle.garden",
|
||||
|
||||
@@ -12,6 +12,7 @@ export interface Config {
|
||||
defaultHttpdScheme: string;
|
||||
pinned: { baseUrl: BaseUrl }[];
|
||||
};
|
||||
supportWebsite: string;
|
||||
fallbackPreferredSeed: BaseUrl;
|
||||
}
|
||||
|
||||
@@ -27,6 +28,7 @@ function getConfig(): Config {
|
||||
defaultNodePort: 8776,
|
||||
pinned: [],
|
||||
},
|
||||
supportWebsite: "https://radicle.zulipchat.com",
|
||||
fallbackPreferredSeed: {
|
||||
hostname: "seed.radicle.garden",
|
||||
port: 443,
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { config } from "@app/lib/config";
|
||||
|
||||
import Command from "@app/components/Command.svelte";
|
||||
import ExternalLink from "@app/components/ExternalLink.svelte";
|
||||
import Icon from "@app/components/Icon.svelte";
|
||||
@@ -21,8 +23,8 @@
|
||||
If you need help resolving this issue, copy the error message
|
||||
<br />
|
||||
below and send it to us on
|
||||
<ExternalLink href="https://radicle.zulipchat.com">
|
||||
radicle.zulipchat.com
|
||||
<ExternalLink href={config.supportWebsite}>
|
||||
{config.supportWebsite}
|
||||
</ExternalLink>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -90,6 +90,7 @@ export const test = base.extend<{
|
||||
},
|
||||
],
|
||||
},
|
||||
supportWebsite: "https://radicle.zulipchat.com",
|
||||
fallbackPreferredSeed: {
|
||||
hostname: "seed.radicle.garden",
|
||||
port: 443,
|
||||
@@ -221,6 +222,7 @@ export function appConfigWithFixture(defaultLocalHttpdPort = 8081) {
|
||||
},
|
||||
],
|
||||
},
|
||||
supportWebsite: "https://radicle.zulipchat.com",
|
||||
fallbackPreferredSeed: {
|
||||
hostname: "seed.radicle.garden",
|
||||
port: 443,
|
||||
|
||||
Reference in New Issue
Block a user