3 Commits

Author SHA1 Message Date
Godzil
0ba51b7270 1.4.2 2018-08-05 11:01:03 +01:00
Godzil
7da4289097 1.4.2-0 2018-08-05 10:57:09 +01:00
Godzil
ce5038cf08 @ URL was broken since 1.3.7 doh! 2018-08-05 10:46:27 +01:00
3 changed files with 11 additions and 3 deletions

2
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{ {
"name": "crunchy", "name": "crunchy",
"version": "1.4.1", "version": "1.4.2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@@ -15,7 +15,7 @@
"engines": { "engines": {
"node": ">=5.0" "node": ">=5.0"
}, },
"version": "1.4.1", "version": "1.4.2",
"bin": { "bin": {
"crunchy": "./bin/crunchy", "crunchy": "./bin/crunchy",
"crunchy.sh": "./bin/crunchy.sh" "crunchy.sh": "./bin/crunchy.sh"

View File

@@ -252,7 +252,15 @@ function checkURL(address: string): boolean
{ {
return true; return true;
} }
if (address.startsWith('http:\/\/')) if (address.startsWith('https:\/\/'))
{
return true;
}
if (address.startsWith('@http:\/\/'))
{
return true;
}
if (address.startsWith('@https:\/\/'))
{ {
return true; return true;
} }