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

11 lines
614 B
TypeScript
Raw Normal View History

2022-08-29 18:09:28 +00:00
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`;
2022-09-11 09:44:43 +00:00
export const AUTHORIZE_URL = process.env.AUTHORIZE_URL as string;
export const TOKEN_URL = process.env.TOKEN_URL as string;
2022-09-09 18:50:28 +00:00
export const REDIRECT_URL = `${PUBLIC_URL}/api/callback`;
2022-08-29 18:09:28 +00:00
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;