mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-21 22:50:59 -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",
|
||||
"main": "index.js",
|
||||
"repository": "https://gitlab.insrt.uk/revolt/revite.git",
|
||||
"repository": "https://github.com/revoltchat/revite.git",
|
||||
"author": "Paul <paulmakles@gmail.com>",
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
@ -30,9 +30,9 @@ export default function TextFile({ attachment }: Props) {
|
|||
if (typeof content !== "undefined") return;
|
||||
if (loading) return;
|
||||
|
||||
if (attachment.size > 20_000) {
|
||||
if (attachment.size > 100_000) {
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Gitlab } from "@styled-icons/boxicons-logos";
|
||||
import { Github } from "@styled-icons/boxicons-logos";
|
||||
import {
|
||||
Sync as SyncIcon,
|
||||
Globe,
|
||||
|
@ -92,7 +92,6 @@ export default function Settings() {
|
|||
title: <Text id="app.settings.pages.audio.title" />,
|
||||
},
|
||||
{
|
||||
|
||||
id: "appearance",
|
||||
icon: <Palette size={20} />,
|
||||
title: <Text id="app.settings.pages.appearance.title" />,
|
||||
|
@ -184,11 +183,11 @@ export default function Settings() {
|
|||
custom={
|
||||
<>
|
||||
<a
|
||||
href="https://gitlab.insrt.uk/revolt"
|
||||
href="https://github.com/revoltchat"
|
||||
target="_blank"
|
||||
rel="noreferrer">
|
||||
<ButtonItem compact>
|
||||
<Gitlab size={20} />
|
||||
<Github size={20} />
|
||||
<Text id="app.settings.pages.source_code" />
|
||||
</ButtonItem>
|
||||
</a>
|
||||
|
@ -221,7 +220,7 @@ export default function Settings() {
|
|||
<a
|
||||
href={
|
||||
GIT_BRANCH !== "DETACHED"
|
||||
? `https://gitlab.insrt.uk/revolt/client/-/tree/${GIT_BRANCH}`
|
||||
? `https://github.com/revoltchat/revite/tree/${GIT_BRANCH}`
|
||||
: undefined
|
||||
}
|
||||
target="_blank"
|
||||
|
|
|
@ -160,10 +160,10 @@ export const Account = observer(() => {
|
|||
Two-factor authentication is currently work-in-progress, see{" "}
|
||||
{` `}
|
||||
<a
|
||||
href="https://gitlab.insrt.uk/insert/rauth/-/issues/2"
|
||||
href="https://github.com/insertish/rauth/milestone/1"
|
||||
target="_blank"
|
||||
rel="noreferrer">
|
||||
tracking issue here
|
||||
v1 milestone here
|
||||
</a>
|
||||
.
|
||||
</h5>
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
/* eslint-disable */
|
||||
// Strings needs to be explictly stated here as they can cause type issues elsewhere.
|
||||
|
||||
export const REPO_URL: string =
|
||||
"https://gitlab.insrt.uk/revolt/revite/-/commit";
|
||||
export const REPO_URL: string = "https://github.com/revoltchat/revite/commit";
|
||||
export const GIT_REVISION: string = "__GIT_REVISION__";
|
||||
export const GIT_BRANCH: string = "__GIT_BRANCH__";
|
||||
|
|
Loading…
Reference in a new issue