260123_ENH : Layout가지 완성된 최초 commit

This commit is contained in:
2026-01-23 11:58:39 +09:00
parent cd4e47ce22
commit 649e7f4b26
81 changed files with 5608 additions and 343 deletions

12
src/lib/env.server.ts Normal file
View File

@@ -0,0 +1,12 @@
const required = (name: string) => {
const v = process.env[name];
if (!v) throw new Error(`Missing env: ${name}`);
return v;
};
export const serverEnv = {
ENV: required("ENV"),
API_BACK_SERVER: required("API_BACK_SERVER"),
API_KART_SERVER: required("API_KART_SERVER"),
KART_API_KEY: required("KART_API_KEY"),
};