misc: Change env variable names

This commit is contained in:
Roman Godmaire 2023-11-19 20:20:56 -05:00
parent 328c724508
commit 1f19aa4f0f

View file

@ -1,12 +1,12 @@
import type { Handle } from '@sveltejs/kit'; import type { Handle } from '@sveltejs/kit';
import { S3_STORAGE_URL, S3_STORAGE_BUCKET } from '$env/static/private'; import { S3_ENDPOINT, S3_BUCKET } from '$env/static/private';
import { auth } from '$lib/server/lucia'; import { auth } from '$lib/server/lucia';
import { ObjectStorageS3 } from '$lib/server/storage/s3'; import { ObjectStorageS3 } from '$lib/server/storage/s3';
import { DatabasePrisma } from '$lib/server/db/prisma'; import { DatabasePrisma } from '$lib/server/db/prisma';
const s3Client = new ObjectStorageS3(S3_STORAGE_URL, S3_STORAGE_BUCKET); const s3Client = new ObjectStorageS3(S3_ENDPOINT, S3_BUCKET);
const prismaClient = new DatabasePrisma(); const prismaClient = new DatabasePrisma();
export const handle: Handle = async ({ event, resolve }) => { export const handle: Handle = async ({ event, resolve }) => {