fix: urlencoded form evaluation issues

This commit is contained in:
Andrew Bastin
2022-01-19 23:11:26 +05:30
parent 0efbc58b26
commit 09269b3cec
6 changed files with 58 additions and 18 deletions

View File

@@ -122,8 +122,9 @@ const axiosWithoutProxy: NetworkStrategy = (req) =>
)
const axiosStrategy: NetworkStrategy = (req) =>
settingsStore.value.PROXY_ENABLED
? axiosWithProxy(req)
: axiosWithoutProxy(req)
pipe(
req,
settingsStore.value.PROXY_ENABLED ? axiosWithProxy : axiosWithoutProxy
)
export default axiosStrategy