Skip to content

Commit b41224d

Browse files
authored
fdasf (#4422)
1 parent 6fd0f13 commit b41224d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sites/plus.skeleton.dev/src/lib/features/auth/auth.server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import { getRequestEvent } from '$app/server';
77
import { sveltekitCookies } from 'better-auth/svelte-kit';
88
import type { SupportedOAuthProvider } from '$lib/features/auth/supported-oauth-providers';
99
import { oAuthProxy } from 'better-auth/plugins';
10-
import { getBaseURL } from '$lib/infrastructure/http/get-base-url';
1110

1211
export const auth = betterAuth({
13-
baseURL: getBaseURL(),
14-
trustedOrigins: ['http://localhost:5173', 'https://*.vercel.app', 'https://plus.skeleton.dev'],
12+
baseURL: {
13+
allowedHosts: ['localhost:*', '*.vercel.app', 'plus.skeleton.dev'],
14+
},
1515
database: drizzleAdapter(db, {
1616
provider: 'pg',
1717
schema,

0 commit comments

Comments
 (0)