1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-24 15:29:36 +02:00

Update adapter condition in svelte.config.js

This commit is contained in:
Sean Morley 2024-03-31 16:00:35 +00:00
parent f1c74c4176
commit adb655bf30

View file

@ -3,7 +3,7 @@ import adapterNode from '@sveltejs/adapter-node';
import adapterVercel from '@sveltejs/adapter-vercel';
let adapter;
if (process.env.VERCEL_DEPLOYMENT === 'true') {
if (process.env.USING_VERCEL === 'true') {
adapter = adapterVercel;
} else {
adapter = adapterNode;