From ffb6aa2dd32bf84ec023611689d5b6fabd20679c Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Wed, 28 Feb 2024 22:12:13 -0500 Subject: [PATCH] Fix proxies and easter eggs (last flipping time) --- README.md | 1 + public/config.js | 2 +- src/components/utils/Lightbar.tsx | 8 ++++---- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ba5535e0..2c72250d 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Sudo-Flix is a mirror of [Movie-Web](https://github.com/movie-web/movie-web) wit | Sudo-Flix | [Sudo-Flix](https://sudo-flix.lol) | [Source Code](https://gitlab.com/itzCozi/sudo-flix) | | Proxy #1 | [sudo-proxy](https://sudo-proxy.netlify.app) | [Source Code](https://gitlab.com/itzCozi/sudo-proxy) | | Proxy #2 | [mweb-proxy](https://mweb-proxy.up.railway.app) | [Source Code](https://gitlab.com/itzCozi/sudo-proxy) | +| Proxy #3 | [sudo-proxy2](sudo-proxy.up.railway.app) | Backend | [sudo-flix-backend](https://sudo-flix-backend.lol) | [Source Code](https://github.com/movie-web/backend) | **I provide these if you are not able to host yourself, though I do encourage hosting the frontend.** diff --git a/public/config.js b/public/config.js index 78dc7c7b..1d1a598b 100644 --- a/public/config.js +++ b/public/config.js @@ -1,6 +1,6 @@ window.__CONFIG__ = { // The URL for the CORS proxy, the URL must NOT end with a slash! - VITE_CORS_PROXY_URL: ["https://sudo-proxy.netlify.app", "https://mweb-proxy.up.railway.app"], + VITE_CORS_PROXY_URL: ["https://sudo-proxy.netlify.app", "https://sudo-proxy.up.railway.app"], // The READ API key to access TMDB VITE_TMDB_READ_API_KEY: "eyJhbGciOiJIUzI1NiJ9.eyJhdWQiOiJiZmU0OGY4NjFkY2NmMjczMzUyMDdmMWVjYmVkNjNjNiIsInN1YiI6IjY1YjNmMWI0NTk0Yzk0MDE2MzNkZDBjNSIsInNjb3BlcyI6WyJhcGlfcmVhZCJdLCJ2ZXJzaW9uIjoxfQ.GiCKswc2u9NraBbujm0ykI5G3p-K9WJoHg40jYbFv4o", diff --git a/src/components/utils/Lightbar.tsx b/src/components/utils/Lightbar.tsx index 4fb1b50c..653c3c64 100644 --- a/src/components/utils/Lightbar.tsx +++ b/src/components/utils/Lightbar.tsx @@ -163,7 +163,7 @@ function ParticlesCanvas() { sizeRange: [15, 30] as [number, number], }, ]; - imageParticleCount = particleCount * 0.123; + imageParticleCount = particleCount * 0.1; } // Fish easter egg @@ -179,7 +179,7 @@ function ParticlesCanvas() { sizeRange: [48, 56] as [number, number], }, ]; - imageParticleCount = particleCount * 0.121; + imageParticleCount = particleCount * 0.09; } // Weed easter egg @@ -198,7 +198,7 @@ function ParticlesCanvas() { } // Kitty easter egg - const shouldShowCat = Math.floor(Math.random() * 51) > 45; + const shouldShowCat = Math.floor(Math.random() * 50) > 45; if (shouldShowCat) { imageOverride = [ { @@ -206,7 +206,7 @@ function ParticlesCanvas() { sizeRange: [28, 34] as [number, number], }, ]; - imageParticleCount = particleCount / 5.8; + imageParticleCount = particleCount / 6.5; } // HOIST THE SAIL (of particles)!