add RESTful API server example

This commit is contained in:
suda-morris
2019-05-10 13:21:14 +08:00
parent ce45e7806b
commit 11c17ab5b6
29 changed files with 995 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
module.exports = {
devServer: {
proxy: {
'/api': {
target: 'http://esp-home.local:80',
changeOrigin: true,
ws: true
}
}
}
}