From 3f8fe307abb1fa341de7960b22ce4dbffa6b38f6 Mon Sep 17 00:00:00 2001 From: sam Date: Tue, 1 Oct 2024 16:19:04 +0200 Subject: [PATCH] fix(frontend): remove unused limits object from env.server --- Foxnouns.Frontend/app/env.server.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Foxnouns.Frontend/app/env.server.ts b/Foxnouns.Frontend/app/env.server.ts index 24870fe..2add747 100644 --- a/Foxnouns.Frontend/app/env.server.ts +++ b/Foxnouns.Frontend/app/env.server.ts @@ -1,11 +1,5 @@ import "dotenv/config"; import { env } from "node:process"; -import { Limits } from "~/lib/api/meta"; export const API_BASE = env.API_BASE || "https://pronouns.localhost/api"; export const LANGUAGE = env.LANGUAGE || "en"; - -const apiLimits: Limits = await fetch(`${API_BASE}/v2/meta`) - .then((resp) => resp.json()) - .then((m) => m.limits); -export const limits: Limits = Object.freeze(apiLimits);