This commit is contained in:
liyasthomas
2019-11-09 07:18:34 +05:30
parent 4ed461bc69
commit 14a67fa698
3 changed files with 4 additions and 4 deletions

View File

@@ -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)_**

View File

@@ -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>

View File

@@ -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);
}, },