Openstatus www.openstatus.dev
at 4c0f4c00a38753a5d0dfd7e7b7b7706dec6f1503 32 lines 1.1 kB view raw
1export const SIZE = { 2 width: 1200, 3 height: 630, 4}; 5 6export const DEFAULT_URL = process.env.VERCEL_URL 7 ? `https://${process.env.VERCEL_URL}` 8 : "http://localhost:3000"; 9 10export const interMedium = fetch( 11 new URL("../../../public/fonts/Inter-Medium.ttf", import.meta.url), 12).then((res) => res.arrayBuffer()); 13 14export const interRegular = fetch( 15 new URL("../../../public/fonts/Inter-Regular.ttf", import.meta.url), 16).then((res) => res.arrayBuffer()); 17 18export const interLight = fetch( 19 new URL("../../../public/fonts/Inter-Light.ttf", import.meta.url), 20).then((res) => res.arrayBuffer()); 21 22export const calSemiBold = fetch( 23 new URL("../../../public/fonts/CalSans-SemiBold.ttf", import.meta.url), 24).then((res) => res.arrayBuffer()); 25 26export const commitMonoRegular = fetch( 27 new URL("../../../public/fonts/CommitMono-400-Regular.otf", import.meta.url), 28).then((res) => res.arrayBuffer()); 29 30export const commitMonoBold = fetch( 31 new URL("../../../public/fonts/CommitMono-700-Regular.otf", import.meta.url), 32).then((res) => res.arrayBuffer());