WIP
parent
5519cf36e3
commit
9c67a7452c
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue