From bc8a603d4e2c59933a83a5a373d58bc6ad7f8c5b Mon Sep 17 00:00:00 2001 From: hak8or Date: Sun, 25 Mar 2018 04:51:49 -0400 Subject: [PATCH] Added proxy to backend API and typescript errors to browser overview --- webpack.config.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index d92dcf7..57b91a8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -55,8 +55,17 @@ module.exports = { } }, devServer: { + overlay: { + warnings: true, + errors: true + }, historyApiFallback: true, - noInfo: true + proxy: { + "/api": { + target: "https://dumbyt.hak8or.com", + changeOrigin: true + } + } }, performance: { hints: false