Skip to content

Commit

Permalink
slug string requirement changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Weedshaker committed Jun 8, 2022
1 parent 209f897 commit 6371214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/es/helpers/Environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class EnvironmentClass {
*/
get slug () {
const urlEnding = this.urlEnding
if (urlEnding && urlEnding[0].match(/.*-[a-z0-9]{3,10}$/)) return urlEnding[0]
if (urlEnding && urlEnding[0].match(/.*-[a-z0-9]{1,100}$/)) return urlEnding[0]
return null
}

Expand Down

0 comments on commit 6371214

Please sign in to comment.