Fix API_URL/API_DOMAIN usage in dashboard

This commit is contained in:
Dragory 2022-06-26 15:24:24 +03:00
parent 122f535e34
commit bc250209d8
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
4 changed files with 7 additions and 7 deletions

View file

@ -1,5 +1,3 @@
require("dotenv").config({ path: path.resolve(process.cwd(), "../.env") });
const path = require("path");
const VueLoaderPlugin = require("vue-loader/lib/plugin");
const HtmlWebpackPlugin = require("html-webpack-plugin");
@ -154,7 +152,9 @@ let config = {
js: ["./src/main.ts"],
},
}),
new DotenvPlugin(),
new DotenvPlugin({
path: path.resolve(process.cwd(), "../.env"),
}),
],
resolve: {
extensions: [".ts", ".tsx", ".js", ".mjs", ".vue"],