mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Fix rotations not fetched in live env
The checked made no sense as VITE_PROD_MODE is not set in prod and we already have a guard against running routines in dev (in entry.server.tsx)
This commit is contained in:
parent
011cf39dee
commit
9f0e035341
|
|
@ -8,8 +8,6 @@ export const SyncSplatoonRotationsRoutine = new Routine({
|
|||
});
|
||||
|
||||
async function syncSplatoonRotations() {
|
||||
if (import.meta.env.VITE_PROD_MODE !== "true") return;
|
||||
|
||||
const rotations = await fetchRotations();
|
||||
await SplatoonRotationRepository.replaceAll(rotations);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user