Fix proxy URL

This commit is contained in:
NBTX
2019-10-20 02:22:24 +01:00
parent f839189121
commit f6316ca956

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;