This repository has been archived on 2024-06-14. You can view files and clone it, but cannot push or open issues or pull requests.
icynet-admin/lib/constants.ts
2022-08-29 21:09:28 +03:00

9 lines
481 B
TypeScript

export const PUBLIC_URL = process.env.NEXT_PUBLIC_URL as string;
export const SERVER_URL = process.env.SERVER_URL as string;
export const API_URL = `${SERVER_URL}/api`;
export const OAUTH_URL = `${SERVER_URL}/oauth2`;
export const CLIENT_ID = process.env.CLIENT_ID as string;
export const CLIENT_SECRET = process.env.CLIENT_SECRET as string;
export const COOKIE_KEYS = [process.env.COOKIE_KEY] as string[];
export const UPLOADS_URL = process.env.NEXT_PUBLIC_UPLOADS_URL as string;