mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-23 23:09:37 +02:00
Update adapter condition in svelte.config.js
This commit is contained in:
parent
f1c74c4176
commit
adb655bf30
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue