🐛 Fixed #275
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<a href="https://postwoman.io"><img src="static/logo.png" alt="Postwoman.io logo" height="160"></a>
|
<a href="https://postwoman.io"><img src="static/logo.png" alt="Postwoman.io logo" height="160"></a>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<p style="font-weight: bold;">
|
<p>
|
||||||
API request builder - A free, fast, and beautiful alternative to Postman
|
API request builder - A free, fast, and beautiful alternative to Postman
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Start here: _[Story behind Postwoman](https://dev.to/liyasthomas/i-created-postwoman-an-online-open-source-api-request-builder-41md), [Postwoman v1.0 - free, fast & beautiful alternative to Postman](https://dev.to/liyasthomas/postwoman-v1-0-a-free-fast-beautiful-alternative-to-postman-mn0)_**
|
**Start here: _[Story behind Postwoman](https://dev.to/liyasthomas/i-created-postwoman-an-online-open-source-api-request-builder-41md), [Postwoman v1.0](https://dev.to/liyasthomas/postwoman-v1-0-a-free-fast-beautiful-alternative-to-postman-mn0)_**
|
||||||
|
|
||||||
**Chat here: _[Telegram](https://t.me/postwoman_app), [Discord](https://discord.gg/GAMWxmR)_**
|
**Chat here: _[Telegram](https://t.me/postwoman_app), [Discord](https://discord.gg/GAMWxmR)_**
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</transition>
|
</transition>
|
||||||
<li></li>
|
<li></li>
|
||||||
<button class="icon" @click="toggleCollapse()" v-tooltip="'Show more'">
|
<button class="icon" @click="toggleCollapse()" v-tooltip="{ content: !show ? 'Show more' : 'Hide more'}">
|
||||||
<i class="material-icons" v-if="!show">first_page</i>
|
<i class="material-icons" v-if="!show">first_page</i>
|
||||||
<i class="material-icons" v-else>last_page</i>
|
<i class="material-icons" v-else>last_page</i>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -980,7 +980,7 @@ export default {
|
|||||||
);
|
);
|
||||||
const validHostname = new RegExp(
|
const validHostname = new RegExp(
|
||||||
protocol +
|
protocol +
|
||||||
"(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$"
|
"(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]).)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9/])$"
|
||||||
);
|
);
|
||||||
return validIP.test(this.url) || validHostname.test(this.url);
|
return validIP.test(this.url) || validHostname.test(this.url);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user