Skip to content

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

Add the proxy server

NBTXf51bcc2406ef
diff --git a/pages/index.vue b/pages/index.vue
index a54aafe94..eca37a923 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -976,7 +976,7 @@ export default {
const config = this.$store.state.postwoman.settings.PROXY_ENABLED
? {
method: "POST",
- url: `${window.location.protocol}//${window.location.host}/proxy`,
+ url: `https://postwoman.apollotv.xyz/`,
data: requestOptions
}
: requestOptions;
diff --git a/pages/settings.vue b/pages/settings.vue
index 06c707969..4959ced98 100644
--- a/pages/settings.vue
+++ b/pages/settings.vue
@@ -48,6 +48,9 @@
</ul>
</pw-section>
<pw-section class="blue" icon="public" label="Proxy">
+ <ul class="info">
+ <li><p>Postwoman's Proxy is hosted by ApolloTV.<br>You can read the ApolloTV privacy policy by clicking <a href="https://apollotv.xyz/legal" target="_blank">here</a/>.</p></li>
+ </ul>
<ul>
<li>
<pw-toggle
@@ -75,6 +78,12 @@
</div>
</template>
+<style scoped>
+ .info {
+ margin-left: 5px;
+ }
+</style>
+
<script>
import section from "../components/section";
import swatch from "../components/settings/swatch";