Files
ESP3D-WEBUI/webpack/development.js
Luc 8acf581254 Fix POST query
Allow upload on dev server on /public directory
Add sample code for preferences.json upload if file does not exist
2020-03-24 15:37:35 +01:00

17 lines
433 B
JavaScript

import merge from "webpack-merge"
import environment from "./environment"
var path = require("path")
module.exports = merge(environment, {
devtool: "inline-source-map",
devServer: {
contentBase: path.join(__dirname, "../src/server/public/"),
port: 3000,
open: true,
proxy: {
"/command": "http://localhost:8080",
"/files": "http://localhost:8080",
},
},
})