From 621c2a0c13853f894f9a5c232f4837e74ba32bf1 Mon Sep 17 00:00:00 2001 From: Pas <74743263+Pasithea0@users.noreply.github.com> Date: Mon, 14 Jul 2025 17:47:46 -0600 Subject: [PATCH] update some urls --- .github/CODE_OF_CONDUCT.md | 2 +- .github/CONTRIBUTING.md | 2 +- .github/SECURITY.md | 2 +- README.md | 14 +++++++------- src/assets/README.md | 2 +- src/components/player/atoms/settings/Downloads.tsx | 4 ++-- src/components/player/hooks/useSkipTime.ts | 2 +- src/pages/parts/settings/ConnectionsPart.tsx | 4 ++-- src/pages/parts/settings/SetupPart.tsx | 2 +- src/setup/config.ts | 4 ++-- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md index a464814f..fa9240c8 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.pstream.org/links/discord). +our [Discord](https://docs.pstream.mov/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 cffe7352..97ff3867 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.pstream.org/links/discord) +[Join bruh](https://docs.pstream.mov/links/discord) ### GitHub Issues To make a GitHub issue for sudo-flix, please visit the [new issue page](https://github.com/p-stream/p-stream/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 e2f4bd94..6736829f 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.pstream.org/links/discord). + - Report the vulnerability in the [Discord](https://docs.pstream.mov/links/discord). diff --git a/README.md b/README.md index ec46c64c..c0b73214 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # P-Stream -[![P-Stream Image](.github/P-Stream.png)](https://docs.pstream.org) +[![P-Stream Image](.github/P-Stream.png)](https://docs.pstream.mov) **I *do not* endorse piracy of any kind I simply enjoy programming and large user counts.** @@ -10,18 +10,18 @@ [![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/p-stream/p-stream) -**NOTE: To self-host, more setup is required. Check the [docs](https://docs.pstream.org) to properly set up!!!!** +**NOTE: To self-host, more setup is required. Check the [docs](https://docs.pstream.mov) to properly set up!!!!** ## Links And Resources | Service | Link | Source Code | |----------------|------------------------------------------------------------------|----------------------------------------------------------| -| P-Stream Docs | [docs](https://docs.pstream.org) | [source code](https://github.com/p-stream/docs) | -| Extension | [extension](https://docs.pstream.org/extension) | [source code](https://github.com/p-stream/browser-ext) | -| Proxy | [simple-proxy](https://docs.pstream.org/proxy) | [source code](https://github.com/p-stream/sudo-proxy) | +| P-Stream Docs | [docs](https://docs.pstream.mov) | [source code](https://github.com/p-stream/docs) | +| Extension | [extension](https://docs.pstream.mov/extension) | [source code](https://github.com/p-stream/browser-ext) | +| Proxy | [simple-proxy](https://docs.pstream.mov/proxy) | [source code](https://github.com/p-stream/sudo-proxy) | | Backend | [backend](https://server.fifthwit.net) | [source code](https://github.com/p-stream/backend) | -| Frontend | [P-Stream](https://docs.pstream.org/instances) | [source code](https://github.com/p-stream/p-stream) | -| Weblate | [weblate](https://weblate.pstream.org) | | +| Frontend | [P-Stream](https://docs.pstream.mov/instances) | [source code](https://github.com/p-stream/p-stream) | +| Weblate | [weblate](https://weblate.pstream.mov) | | ***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 0cf8cd83..3f12b344 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.pstream.org/links/weblate) to add translations, see contributing guidelines. +1. Use [Weblate](https://docs.pstream.mov/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/components/player/atoms/settings/Downloads.tsx b/src/components/player/atoms/settings/Downloads.tsx index 43b0d44c..1779ed98 100644 --- a/src/components/player/atoms/settings/Downloads.tsx +++ b/src/components/player/atoms/settings/Downloads.tsx @@ -119,7 +119,7 @@ export function DownloadView({ id }: { id: string }) { return downloadUrl; // Return original if no specific pattern is found }, [downloadUrl]); - const hlsDownload = `https://hls-downloader.pstream.org/?url=${encodeURIComponent(processDownloadUrl())}`; + const hlsDownload = `https://hls-downloader.pstream.mov/?url=${encodeURIComponent(processDownloadUrl())}`; const [, copyToClipboard] = useCopyToClipboard(); const sourceType = usePlayerStore((s) => s.source?.type); @@ -198,7 +198,7 @@ export function DownloadView({ id }: { id: string }) {

diff --git a/src/components/player/hooks/useSkipTime.ts b/src/components/player/hooks/useSkipTime.ts index 0a692a03..37e06b85 100644 --- a/src/components/player/hooks/useSkipTime.ts +++ b/src/components/player/hooks/useSkipTime.ts @@ -5,7 +5,7 @@ import { conf } from "@/setup/config"; import { usePreferencesStore } from "@/stores/preferences"; // Thanks Nemo for this API -const BASE_URL = "https://skips.pstream.org"; +const BASE_URL = "https://skips.pstream.mov"; const MAX_RETRIES = 3; export function useSkipTime() { diff --git a/src/pages/parts/settings/ConnectionsPart.tsx b/src/pages/parts/settings/ConnectionsPart.tsx index 443d41a0..590642db 100644 --- a/src/pages/parts/settings/ConnectionsPart.tsx +++ b/src/pages/parts/settings/ConnectionsPart.tsx @@ -97,7 +97,7 @@ function ProxyEdit({

- + {t("settings.connections.workers.documentation")} @@ -183,7 +183,7 @@ function BackendEdit({ backendUrl, setBackendUrl }: BackendEditProps) {

- + {t("settings.connections.server.documentation")} diff --git a/src/pages/parts/settings/SetupPart.tsx b/src/pages/parts/settings/SetupPart.tsx index 383f24fd..837e0ffd 100644 --- a/src/pages/parts/settings/SetupPart.tsx +++ b/src/pages/parts/settings/SetupPart.tsx @@ -42,7 +42,7 @@ const getBaseUrl = async (): Promise => { case "south": return "https://fed-api-south.pstream.org"; case "asia": - return "https://fed-api-asia.pstream.org"; + return "https://fed-api-asia.pstream.mov"; case "europe": return "https://fed-api-europe.pstream.org"; case "unknown": diff --git a/src/setup/config.ts b/src/setup/config.ts index 8282fdfd..a5d3f13b 100644 --- a/src/setup/config.ts +++ b/src/setup/config.ts @@ -121,11 +121,11 @@ export function conf(): RuntimeConfig { DMCA_EMAIL: getKey("DMCA_EMAIL"), ONBOARDING_CHROME_EXTENSION_INSTALL_LINK: getKey( "ONBOARDING_CHROME_EXTENSION_INSTALL_LINK", - "https://docs.pstream.org/extension", + "https://docs.pstream.mov/extension", ), ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK: getKey( "ONBOARDING_FIREFOX_EXTENSION_INSTALL_LINK", - "https://docs.pstream.org/extension", + "https://docs.pstream.mov/extension", ), ONBOARDING_PROXY_INSTALL_LINK: getKey("ONBOARDING_PROXY_INSTALL_LINK"), BACKEND_URL: getKey("BACKEND_URL", BACKEND_URL),