This commit is contained in:
zomars 2022-03-01 10:01:57 -07:00
parent 5519cf36e3
commit 9c67a7452c
3 changed files with 5 additions and 3 deletions

View File

@ -3,6 +3,7 @@ import { stringify } from "querystring";
import { BASE_URL } from "@calcom/lib/constants";
import prisma from "@calcom/prisma";
import "@calcom/types/next";
const client_id = process.env.ZOOM_CLIENT_ID;

View File

@ -1,4 +1,5 @@
export const BASE_URL = process.env.BASE_URL || `https://${process.env.VERCEL_URL}`;
export const BASE_URL =
process.env.NEXT_PUBLIC_BASE_URL || process.env.BASE_URL || `https://${process.env.VERCEL_URL}`;
export const WEBSITE_URL = process.env.NEXT_PUBLIC_APP_URL || "https://cal.com";
export const IS_PRODUCTION = process.env.NODE_ENV === "production";
export const TRIAL_LIMIT_DAYS = 14;

View File

@ -3,8 +3,8 @@ import type { Session } from "next-auth";
import "./next-auth";
declare module "next" {
export interface NextApiRequest extends IncomingMessage {
export declare module "next" {
interface NextApiRequest extends IncomingMessage {
session?: Session | null;
}
}