Merge pull request #201 from NBTX/master

Fix proxy URL
This commit is contained in:
John Harker 2019-10-20 02:23:46 +01:00 committed by GitHub
commit 5e551b4ffe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -711,7 +711,7 @@
const config = this.$store.state.postwoman.settings.PROXY_ENABLED ? {
method: 'POST',
url: '/proxy',
url: `${window.location.protocol}//${window.location.host}/proxy`,
data: requestOptions
} : requestOptions;