mirror of
https://github.com/luc-github/ESP3D-WEBUI.git
synced 2026-03-07 00:16:52 +01:00
Allow upload on dev server on /public directory Add sample code for preferences.json upload if file does not exist
17 lines
433 B
JavaScript
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",
|
|
},
|
|
},
|
|
})
|