btc-wallet: fix dev proxy

This commit is contained in:
Liam Fitzgerald 2021-05-28 14:16:55 +10:00
parent 68cd853fb5
commit 12f3ab7651
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB

View File

@ -42,7 +42,7 @@ if(urbitrc.URL) {
...devServer, ...devServer,
index: '', index: '',
proxy: { proxy: {
'/~btc/js/bundle/index.js': { '/~btc/js/bundle/index.*.js': {
target: 'http://localhost:9000', target: 'http://localhost:9000',
pathRewrite: (req, path) => { pathRewrite: (req, path) => {
return '/index.js' return '/index.js'