proxy.hoppscotch.io (#1532)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
This commit is contained in:
Liyas Thomas
2021-03-14 08:54:15 +05:30
committed by GitHub
parent c6af38f7dc
commit a724dc1207
23 changed files with 62 additions and 61 deletions

View File

@@ -121,16 +121,16 @@
:placeholder="$t('url')"
/>
<p class="info">
{{ $t("postwoman_official_proxy_hosting") }}
{{ $t("official_proxy_hosting") }}
<br />
{{ $t("read_the") }}
<a
class="link"
href="https://apollosoftware.xyz/legal/postwoman"
href="https://github.com/hoppscotch/proxyscotch/wiki/Privacy-policy"
target="_blank"
rel="noopener"
>
{{ $t("apollosw_privacy_policy") }} </a
{{ $t("proxy_privacy_policy") }} </a
>.
</p>
</div>
@@ -195,9 +195,7 @@ export default {
: true,
PROXY_ENABLED: this.$store.state.postwoman.settings.PROXY_ENABLED || false,
PROXY_URL:
this.$store.state.postwoman.settings.PROXY_URL ||
"https://hoppscotch.apollosoftware.xyz/",
PROXY_URL: this.$store.state.postwoman.settings.PROXY_URL || "https://proxy.hoppscotch.io",
PROXY_KEY: this.$store.state.postwoman.settings.PROXY_KEY || "",
EXTENSIONS_ENABLED:
@@ -248,7 +246,7 @@ export default {
fb.writeSettings("syncEnvironments", true)
},
resetProxy({ target }) {
this.settings.PROXY_URL = `https://hoppscotch.apollosoftware.xyz/`
this.settings.PROXY_URL = `https://proxy.hoppscotch.io`
target.innerHTML = this.doneButton
this.$toast.info(this.$t("cleared"), {
icon: "clear_all",