misc: Change env variable names
This commit is contained in:
parent
328c724508
commit
1f19aa4f0f
1 changed files with 2 additions and 2 deletions
|
@ -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 }) => {
|
||||||
|
|
Loading…
Reference in a new issue