Compare commits

..

2 Commits

Author SHA1 Message Date
c76a137090 Merge pull request 'removed auth dependency at build time' (#5) from dev into staging
Some checks failed
build / build (push) Failing after 1m19s
build / deploy (push) Has been skipped
Reviewed-on: #5
2026-08-30 22:07:07 +00:00
0e8c3c70b8 removed auth dependency at build time 2026-08-30 22:06:42 +00:00
2 changed files with 2 additions and 4 deletions

View File

@@ -1,7 +1,5 @@
FROM oven/bun AS builder
RUN bun
WORKDIR /app
COPY package.json bun.lock ./

View File

@@ -8,8 +8,8 @@ import * as schema from '$lib/server/db/schema';
import type { RequestEvent } from '@sveltejs/kit';
export const auth = betterAuth({
baseURL: env.ORIGIN,
secret: env.BETTER_AUTH_SECRET,
baseURL: env.ORIGIN ?? 'http://localhost:3000',
secret: env.BETTER_AUTH_SECRET ?? 'build-time-placeholder',
database: drizzleAdapter(db, { provider: 'pg', schema }),
emailAndPassword: { enabled: true },
socialProviders: {