fix lambda CORS

Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
Andrey Platov
2021-08-08 17:10:36 +02:00
parent ce348f1a92
commit 67940e0d35
4 changed files with 12 additions and 7 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ module.exports = {
new MiniCssExtractPlugin({
filename: '[name].css'
}),
new Dotenv()
new Dotenv({path: prod ? '.env-prod' : '.env'})
],
devtool: prod ? false : 'source-map',
devServer: {