Update Proxy URL (#1436)

* Update proxy URLs

* Update URLs in Vue file

Had to edit with web editor to avoid vs code changing indentation.

* Delete settings.json

Co-authored-by: Sam Jakob Mearns <me@samjakob.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
John Harker
2021-01-22 05:13:44 +00:00
committed by GitHub
parent c5dff96f57
commit c7f7b96405
3 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ export const cancelRunningAxiosRequest = () => {
const axiosWithProxy = async (req, { state }) => {
try {
const { data } = await axios.post(
state.postwoman.settings.PROXY_URL || "https://postwoman.apollosoftware.xyz/",
state.postwoman.settings.PROXY_URL || "https://hoppscotch.apollosoftware.xyz/",
{
...req,
wantsBinary: true,

View File

@@ -18,7 +18,7 @@ export const cancelRunningExtensionRequest = () => {
const extensionWithProxy = async (req, { state }) => {
const { data } = await window.__POSTWOMAN_EXTENSION_HOOK__.sendRequest({
method: "post",
url: state.postwoman.settings.PROXY_URL || "https://postwoman.apollosoftware.xyz/",
url: state.postwoman.settings.PROXY_URL || "https://hoppscotch.apollosoftware.xyz/",
data: {
...req,
wantsBinary: true,