import { LogtoNextConfig } from "@logto/next"; import { configs } from "./config/configs"; export const logtoConfig: LogtoNextConfig = { endpoint: 'https://logto.fp.sbtp.xyz/', appId: configs.logtoAppId, appSecret: configs.logtoAppSecret, baseUrl: configs.websiteDomain, cookieSecret: configs.logtoCookieSecret, cookieSecure: process.env.NODE_ENV === 'production', };