mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-22 07:00:58 -05:00
Update source links from GitLab to GitHub.
This commit is contained in:
parent
a387d3c6ae
commit
c302eade17
5 changed files with 10 additions and 12 deletions
|
@ -133,7 +133,7 @@
|
||||||
},
|
},
|
||||||
"name": "client",
|
"name": "client",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"repository": "https://gitlab.insrt.uk/revolt/revite.git",
|
"repository": "https://github.com/revoltchat/revite.git",
|
||||||
"author": "Paul <paulmakles@gmail.com>",
|
"author": "Paul <paulmakles@gmail.com>",
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,9 +30,9 @@ export default function TextFile({ attachment }: Props) {
|
||||||
if (typeof content !== "undefined") return;
|
if (typeof content !== "undefined") return;
|
||||||
if (loading) return;
|
if (loading) return;
|
||||||
|
|
||||||
if (attachment.size > 20_000) {
|
if (attachment.size > 100_000) {
|
||||||
setContent(
|
setContent(
|
||||||
"This file is > 20 KB, for your sake I did not load it.\nSee tracking issue here for previews: https://gitlab.insrt.uk/revolt/revite/-/issues/2",
|
"This file is > 100 KB, for your sake I did not load it.\nSee tracking issue here for previews: https://github.com/revoltchat/revite/issues/35",
|
||||||
);
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Gitlab } from "@styled-icons/boxicons-logos";
|
import { Github } from "@styled-icons/boxicons-logos";
|
||||||
import {
|
import {
|
||||||
Sync as SyncIcon,
|
Sync as SyncIcon,
|
||||||
Globe,
|
Globe,
|
||||||
|
@ -92,7 +92,6 @@ export default function Settings() {
|
||||||
title: <Text id="app.settings.pages.audio.title" />,
|
title: <Text id="app.settings.pages.audio.title" />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
||||||
id: "appearance",
|
id: "appearance",
|
||||||
icon: <Palette size={20} />,
|
icon: <Palette size={20} />,
|
||||||
title: <Text id="app.settings.pages.appearance.title" />,
|
title: <Text id="app.settings.pages.appearance.title" />,
|
||||||
|
@ -184,11 +183,11 @@ export default function Settings() {
|
||||||
custom={
|
custom={
|
||||||
<>
|
<>
|
||||||
<a
|
<a
|
||||||
href="https://gitlab.insrt.uk/revolt"
|
href="https://github.com/revoltchat"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer">
|
rel="noreferrer">
|
||||||
<ButtonItem compact>
|
<ButtonItem compact>
|
||||||
<Gitlab size={20} />
|
<Github size={20} />
|
||||||
<Text id="app.settings.pages.source_code" />
|
<Text id="app.settings.pages.source_code" />
|
||||||
</ButtonItem>
|
</ButtonItem>
|
||||||
</a>
|
</a>
|
||||||
|
@ -221,7 +220,7 @@ export default function Settings() {
|
||||||
<a
|
<a
|
||||||
href={
|
href={
|
||||||
GIT_BRANCH !== "DETACHED"
|
GIT_BRANCH !== "DETACHED"
|
||||||
? `https://gitlab.insrt.uk/revolt/client/-/tree/${GIT_BRANCH}`
|
? `https://github.com/revoltchat/revite/tree/${GIT_BRANCH}`
|
||||||
: undefined
|
: undefined
|
||||||
}
|
}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
|
@ -160,10 +160,10 @@ export const Account = observer(() => {
|
||||||
Two-factor authentication is currently work-in-progress, see{" "}
|
Two-factor authentication is currently work-in-progress, see{" "}
|
||||||
{` `}
|
{` `}
|
||||||
<a
|
<a
|
||||||
href="https://gitlab.insrt.uk/insert/rauth/-/issues/2"
|
href="https://github.com/insertish/rauth/milestone/1"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer">
|
rel="noreferrer">
|
||||||
tracking issue here
|
v1 milestone here
|
||||||
</a>
|
</a>
|
||||||
.
|
.
|
||||||
</h5>
|
</h5>
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// Strings needs to be explictly stated here as they can cause type issues elsewhere.
|
// Strings needs to be explictly stated here as they can cause type issues elsewhere.
|
||||||
|
|
||||||
export const REPO_URL: string =
|
export const REPO_URL: string = "https://github.com/revoltchat/revite/commit";
|
||||||
"https://gitlab.insrt.uk/revolt/revite/-/commit";
|
|
||||||
export const GIT_REVISION: string = "__GIT_REVISION__";
|
export const GIT_REVISION: string = "__GIT_REVISION__";
|
||||||
export const GIT_BRANCH: string = "__GIT_BRANCH__";
|
export const GIT_BRANCH: string = "__GIT_BRANCH__";
|
||||||
|
|
Loading…
Reference in a new issue