bs-config.js 324 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 10 let proxy = require('http-proxy-middleware'); let fallback = require('connect-history-api-fallback'); module.exports = { server: { middleware: { 1: proxy('/', {target: 'http://localhost:8091', changeOrigin: false }), 2: fallback({index: '/index.html', verbose: true}) } }, };