Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Update Proxy URL (#1436)

John Harkerc7f7b9640580
diff --git a/helpers/strategies/AxiosStrategy.js b/helpers/strategies/AxiosStrategy.js
index 415bebb1d..42f30c25a 100644
--- a/helpers/strategies/AxiosStrategy.js
+++ b/helpers/strategies/AxiosStrategy.js
@@ -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,
diff --git a/helpers/strategies/ExtensionStrategy.js b/helpers/strategies/ExtensionStrategy.js
index 7f5c591f9..1a8ed676e 100644
--- a/helpers/strategies/ExtensionStrategy.js
+++ b/helpers/strategies/ExtensionStrategy.js
@@ -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,
diff --git a/pages/settings.vue b/pages/settings.vue
index 2e0e9ba24..65909584e 100644
--- a/pages/settings.vue
+++ b/pages/settings.vue
@@ -206,7 +206,7 @@ export default {
FRAME_COLORS_ENABLED: this.$store.state.postwoman.settings.FRAME_COLORS_ENABLED || false,
PROXY_ENABLED: this.$store.state.postwoman.settings.PROXY_ENABLED || false,
PROXY_URL:
- this.$store.state.postwoman.settings.PROXY_URL || "https://postwoman.apollosoftware.xyz/",
+ this.$store.state.postwoman.settings.PROXY_URL || "https://hoppscotch.apollosoftware.xyz/",
PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "",
EXTENSIONS_ENABLED:
@@ -257,7 +257,7 @@ export default {
fb.writeSettings("syncEnvironments", true)
},
resetProxy({ target }) {
- this.settings.PROXY_URL = `https://postwoman.apollosoftware.xyz/`
+ this.settings.PROXY_URL = `https://hoppscotch.apollosoftware.xyz/`
target.innerHTML = this.doneButton
this.$toast.info(this.$t("cleared"), {
icon: "clear_all",