From b495692275ede8d220c5ec1b0a920b95147d3529 Mon Sep 17 00:00:00 2001 From: Cooper Date: Fri, 26 Jul 2024 02:06:27 +0000 Subject: [PATCH] Update urls --- .github/CODE_OF_CONDUCT.md | 2 +- .github/CONTRIBUTING.md | 2 +- .github/SECURITY.md | 2 +- README.md | 14 +++++++------- src/assets/README.md | 2 +- src/pages/Support.tsx | 2 +- src/setup/config.ts | 6 +++--- src/setup/constants.ts | 2 +- src/utils/setup/constants.ts | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index 381a3c55..22bd3984 100644 --- a/.github/CODE_OF_CONDUCT.md +++ b/.github/CODE_OF_CONDUCT.md @@ -60,7 +60,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be 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 community leaders are obligated to respect the privacy and security of the diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 3a4375d6..4732ee99 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -34,7 +34,7 @@ There are two places where to request features or report bugs: ### 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 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. diff --git a/.github/SECURITY.md b/.github/SECURITY.md index cfc0dda6..9727af91 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -7,4 +7,4 @@ The latest version of sudo-flix is the only version that is supported, as it is ## Reporting 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). diff --git a/README.md b/README.md index d289949a..b12595b3 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # 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.** ## Links And Resources | Service | Link | Source Code | |----------------|------------------------------------------------------------------|----------------------------------------------------------| -| Sudo-Flix Docs | [sudo-docs](https://docs.sudo-flix.lol) | [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) | -| 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) | -| Frontend | [sudo-flix](https://sudo-flix.lol), [2](https://flix.kanded.xyz) | [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) | +| Sudo-Flix Docs | [sudo-docs](https://docs.undi.rest) | [source code](https://github.com/sussy-code/docs) | +| 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) | +| Backend | [sudo-backend](https://backend.undi.rest) | [source code](https://github.com/sussy-code/backend) | +| Frontend | [sudo-flix](https://docs.undi.rest/instances) | [source code](https://github.com/sussy-code/smov) | +| 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.*** diff --git a/src/assets/README.md b/src/assets/README.md index ecbd39d9..bfb7d172 100644 --- a/src/assets/README.md +++ b/src/assets/README.md @@ -3,7 +3,7 @@ Locales are difficult, here is some guidance. ## 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. 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`. diff --git a/src/pages/Support.tsx b/src/pages/Support.tsx index bfb42eb3..0ab4cb2b 100644 --- a/src/pages/Support.tsx +++ b/src/pages/Support.tsx @@ -106,7 +106,7 @@ export function SupportPage() { items={[ - + , diff --git a/src/setup/config.ts b/src/setup/config.ts index b4d33acf..0e1b58f8 100644 --- a/src/setup/config.ts +++ b/src/setup/config.ts @@ -53,7 +53,7 @@ const env: Record = { DISCORD_LINK: undefined, TWITTER_LINK: undefined, ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: - "https://docs.sudo-flix.lol/extension", + "https://docs.undi.rest/extension", ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK: import.meta.env .VITE_ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK, ONBOARDING_PROXY_INSTALL_LINK: import.meta.env @@ -97,11 +97,11 @@ export function conf(): RuntimeConfig { DMCA_EMAIL: getKey("DMCA_EMAIL"), ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: getKey( "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", - "https://docs.sudo-flix.lol/extension", + "https://docs.undi.rest/extension", ), ONBOARDING_PROXY_INSTALL_LINK: getKey("ONBOARDING_PROXY_INSTALL_LINK"), BACKEND_URL: getKey("BACKEND_URL", BACKEND_URL), diff --git a/src/setup/constants.ts b/src/setup/constants.ts index 16d1d682..9ba35a7f 100644 --- a/src/setup/constants.ts +++ b/src/setup/constants.ts @@ -1,5 +1,5 @@ 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 TWITTER_LINK = "https://twitter.com/SudoFlix"; export const GA_ID = import.meta.env.VITE_GA_ID; diff --git a/src/utils/setup/constants.ts b/src/utils/setup/constants.ts index b36ddee7..2885bafd 100644 --- a/src/utils/setup/constants.ts +++ b/src/utils/setup/constants.ts @@ -1,5 +1,5 @@ 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 GA_ID = import.meta.env.VITE_GA_ID; export const BACKEND_URL = import.meta.env.VITE_BACKEND_URL;