Update urls

This commit is contained in:
Cooper 2024-07-26 02:06:27 +00:00
parent a301ebde5d
commit b495692275
9 changed files with 17 additions and 17 deletions

View File

@ -60,7 +60,7 @@ representative at an online or offline event.
Instances of abusive, harassing, or otherwise unacceptable behavior may be Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at reported to the community leaders responsible for enforcement at
our [Discord](https://docs.sudo-flix.lol/links/discord). our [Discord](https://docs.undi.rest/links/discord).
All complaints will be reviewed and investigated promptly and fairly. All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the All community leaders are obligated to respect the privacy and security of the

View File

@ -34,7 +34,7 @@ There are two places where to request features or report bugs:
### Discord Server ### Discord Server
If you do not have a GitHub account or want to discuss a feature or bug with us before making an issue, you can join our Discord server. If you do not have a GitHub account or want to discuss a feature or bug with us before making an issue, you can join our Discord server.
[Join bruh](https://docs.sudo-flix.lol/links/discord) [Join bruh](https://docs.undi.rest/links/discord)
### GitHub Issues ### GitHub Issues
To make a GitHub issue for sudo-flix, please visit the [new issue page](https://github.com/sussy-code/smov/issues/new/choose) where you can pick either the "Bug Report" or "Feature Request" template. To make a GitHub issue for sudo-flix, please visit the [new issue page](https://github.com/sussy-code/smov/issues/new/choose) where you can pick either the "Bug Report" or "Feature Request" template.

2
.github/SECURITY.md vendored
View File

@ -7,4 +7,4 @@ The latest version of sudo-flix is the only version that is supported, as it is
## Reporting a Vulnerability ## Reporting a Vulnerability
You can contact the sudo-flix maintainers to report a vulnerability: You can contact the sudo-flix maintainers to report a vulnerability:
- Report the vulnerability in the [Discord](https://docs.sudo-flix.lol/links/discord). - Report the vulnerability in the [Discord](https://docs.undi.rest/links/discord).

View File

@ -1,17 +1,17 @@
# Sudo-Flix # Sudo-Flix
[![Sudo-Flix Image](.github/Sudo-Flix.png)](https://docs.sudo-flix.lol) [![Sudo-Flix Image](.github/Sudo-Flix.png)](https://docs.undi.rest)
**I *do not* endorse piracy of any kind I simply enjoy programming and large user counts.** **I *do not* endorse piracy of any kind I simply enjoy programming and large user counts.**
## Links And Resources ## Links And Resources
| Service | Link | Source Code | | Service | Link | Source Code |
|----------------|------------------------------------------------------------------|----------------------------------------------------------| |----------------|------------------------------------------------------------------|----------------------------------------------------------|
| Sudo-Flix Docs | [sudo-docs](https://docs.sudo-flix.lol) | [source code](https://github.com/sussy-code/docs) | | Sudo-Flix Docs | [sudo-docs](https://docs.undi.rest) | [source code](https://github.com/sussy-code/docs) |
| Extension | [extension](https://docs.sudo-flix.lol/extension) | [source code](https://github.com/sussy-code/browser-ext) | | Extension | [extension](https://docs.undi.rest/extension) | [source code](https://github.com/sussy-code/browser-ext) |
| Proxy | [sudo-proxy](https://sudo-proxy.up.railway.app) | [source code](https://github.com/sussy-code/sudo-proxy) | | Proxy | [sudo-proxy](https://sudo-proxy.up.railway.app) | [source code](https://github.com/sussy-code/sudo-proxy) |
| Backend | [sudo-backend](https://backend.sudo-flix.lol) | [source code](https://github.com/sussy-code/backend) | | Backend | [sudo-backend](https://backend.undi.rest) | [source code](https://github.com/sussy-code/backend) |
| Frontend | [sudo-flix](https://sudo-flix.lol), [2](https://flix.kanded.xyz) | [source code](https://github.com/sussy-code/smov) | | Frontend | [sudo-flix](https://docs.undi.rest/instances) | [source code](https://github.com/sussy-code/smov) |
| Weblate | [sudo-weblate](https://docs.sudo-flix.lol/links/weblate) | [source code](https://github.com/sussy-code/docs) | | Weblate | [sudo-weblate](https://docs.undi.rest/links/weblate) | [source code](https://github.com/sussy-code/docs) |
***I provide these if you are not able to host yourself, though I do encourage hosting the frontend.*** ***I provide these if you are not able to host yourself, though I do encourage hosting the frontend.***

View File

@ -3,7 +3,7 @@
Locales are difficult, here is some guidance. Locales are difficult, here is some guidance.
## Process on adding new languages ## Process on adding new languages
1. Use [Weblate](https://docs.sudo-flix.lol/links/weblate) to add translations, see contributing guidelines. 1. Use [Weblate](https://docs.undi.rest/links/weblate) to add translations, see contributing guidelines.
2. Add your language to `@/assets/languages.ts`. Must be in ISO format (ISO-639 for language and ISO-3166 for country/region). For joke languages, use any format. 2. Add your language to `@/assets/languages.ts`. Must be in ISO format (ISO-639 for language and ISO-3166 for country/region). For joke languages, use any format.
3. If the language code doesn't have a region specified (Such as in `pt-BR`, `BR` being the region), add a default region in `@/utils/language.ts` at `defaultLanguageCodes` 3. If the language code doesn't have a region specified (Such as in `pt-BR`, `BR` being the region), add a default region in `@/utils/language.ts` at `defaultLanguageCodes`
4. If the language code doesn't contain a region (Such as in `zh-Hant`), add a default country in `@/utils/language.ts` at `countryPriority`. 4. If the language code doesn't contain a region (Such as in `zh-Hant`), add a default country in `@/utils/language.ts` at `countryPriority`.

View File

@ -106,7 +106,7 @@ export function SupportPage() {
items={[ items={[
<Item title={t("support.q1.title")}> <Item title={t("support.q1.title")}>
<Trans i18nKey="support.q1.body"> <Trans i18nKey="support.q1.body">
<MwLink to="https://docs.sudo-flix.lol/links/discord" /> <MwLink to="https://docs.undi.rest/links/discord" />
</Trans> </Trans>
</Item>, </Item>,
<Item title={t("support.q2.title")}> <Item title={t("support.q2.title")}>

View File

@ -53,7 +53,7 @@ const env: Record<keyof Config, undefined | string> = {
DISCORD_LINK: undefined, DISCORD_LINK: undefined,
TWITTER_LINK: undefined, TWITTER_LINK: undefined,
ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: ONBOARDING_CHROME_EXTENSION_INSTALL_LINK:
"https://docs.sudo-flix.lol/extension", "https://docs.undi.rest/extension",
ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK: import.meta.env ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK: import.meta.env
.VITE_ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK, .VITE_ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK,
ONBOARDING_PROXY_INSTALL_LINK: import.meta.env ONBOARDING_PROXY_INSTALL_LINK: import.meta.env
@ -97,11 +97,11 @@ export function conf(): RuntimeConfig {
DMCA_EMAIL: getKey("DMCA_EMAIL"), DMCA_EMAIL: getKey("DMCA_EMAIL"),
ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: getKey( ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: getKey(
"ONBOARDING_CHROME_EXTENSION_INSTALL_LINK", "ONBOARDING_CHROME_EXTENSION_INSTALL_LINK",
"https://docs.sudo-flix.lol/extension", "https://docs.undi.rest/extension",
), ),
ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK: getKey( ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK: getKey(
"ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK", "ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK",
"https://docs.sudo-flix.lol/extension", "https://docs.undi.rest/extension",
), ),
ONBOARDING_PROXY_INSTALL_LINK: getKey("ONBOARDING_PROXY_INSTALL_LINK"), ONBOARDING_PROXY_INSTALL_LINK: getKey("ONBOARDING_PROXY_INSTALL_LINK"),
BACKEND_URL: getKey("BACKEND_URL", BACKEND_URL), BACKEND_URL: getKey("BACKEND_URL", BACKEND_URL),

View File

@ -1,5 +1,5 @@
export const APP_VERSION = import.meta.env.PACKAGE_VERSION; export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
export const DISCORD_LINK = "https://docs.sudo-flix.lol/links/discord"; export const DISCORD_LINK = "https://docs.undi.rest/links/discord";
export const GITHUB_LINK = "https://github.com/sussy-code/smov"; export const GITHUB_LINK = "https://github.com/sussy-code/smov";
export const TWITTER_LINK = "https://twitter.com/SudoFlix"; export const TWITTER_LINK = "https://twitter.com/SudoFlix";
export const GA_ID = import.meta.env.VITE_GA_ID; export const GA_ID = import.meta.env.VITE_GA_ID;

View File

@ -1,5 +1,5 @@
export const APP_VERSION = import.meta.env.PACKAGE_VERSION; export const APP_VERSION = import.meta.env.PACKAGE_VERSION;
export const DISCORD_LINK = "https://docs.sudo-flix.lol/links/discord"; export const DISCORD_LINK = "https://docs.undi.rest/links/discord";
export const GITHUB_LINK = "https://github.com/sussy-code/smov"; export const GITHUB_LINK = "https://github.com/sussy-code/smov";
export const GA_ID = import.meta.env.VITE_GA_ID; export const GA_ID = import.meta.env.VITE_GA_ID;
export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL; export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL;