add:db migration to dockerbuild and edit origin url

This commit is contained in:
2025-12-16 14:18:30 +01:00
parent 0c1c9d202d
commit deebeb056f
7 changed files with 47 additions and 6 deletions

View File

@@ -13,9 +13,9 @@ export const handle: Handle = async ({ event, resolve }) => {
!origin ||
origin.includes('localhost') ||
origin.includes('127.0.0.1') ||
origin.includes('serengo.ziasvannes.tech')
origin.includes('serengo.zias.be')
) {
// Allow in development and serengo.ziasvannes.tech
// Allow in development and serengo.zias.be
}
// In production, you would add: else if (origin !== 'yourdomain.com') { return new Response('Forbidden', { status: 403 }); }
}

View File

@@ -4,5 +4,5 @@ import { GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET } from '$env/static/private';
export const google = new Google(
GOOGLE_CLIENT_ID,
GOOGLE_CLIENT_SECRET,
'https://serengo.ziasvannes.tech/login/google/callback'
'https://serengo.zias.be/login/google/callback'
);