1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-29 16:07:40 +01:00

Fix proxies and easter eggs (last flipping time)

This commit is contained in:
Cooper Ransom 2024-02-28 22:12:13 -05:00
parent fbcc7b8009
commit ffb6aa2dd3
3 changed files with 6 additions and 5 deletions

View file

@ -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.**

View file

@ -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",

View file

@ -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)!