diff --git a/webpack.config.js b/webpack.config.js index ad12664..1d4e48f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -2,14 +2,6 @@ const path = require('path'); const common = { mode: 'development', - devServer: { - proxy: { - '/calendar': { - target: 'https://calendar.google.com', - changeOrigin: true, - }, - }, - }, module: { rules: [ { @@ -38,6 +30,15 @@ module.exports = [ ...common, name: 'default', entry: './src/index.ts', + devServer: { + allowedHosts: 'all', + proxy: { + '/calendar': { + target: 'https://calendar.google.com', + changeOrigin: true, + }, + }, + }, module: { rules: [ {