fix installer regex to include numbers

This commit is contained in:
wh1te909
2020-09-02 06:05:54 +00:00
parent e01526210d
commit 40747ef73c

View File

@@ -148,11 +148,11 @@ export default {
const clientStripped = this.client
.replace(/\s/g, "")
.toLowerCase()
.replace(/([^a-zA-Z]+)/g, "");
.replace(/([^a-zA-Z0-9]+)/g, "");
const siteStripped = this.site
.replace(/\s/g, "")
.toLowerCase()
.replace(/([^a-zA-Z]+)/g, "");
.replace(/([^a-zA-Z0-9]+)/g, "");
const data = {
installMethod: this.installMethod,