Support passing env values
This commit is contained in:
+1
-3
@@ -5,9 +5,7 @@ import polka from 'polka';
|
||||
import compression from 'compression';
|
||||
import * as sapper from '@sapper/server';
|
||||
|
||||
import { getConfig } from './config';
|
||||
|
||||
const config = getConfig(dotenv.config().parsed);
|
||||
import config from './config';
|
||||
|
||||
polka() // You can also use Express
|
||||
.use(
|
||||
|
||||
Reference in New Issue
Block a user