Init: RoggioApp Architecture, Prisma Schema, API MVP
This commit is contained in:
Generated
Vendored
Executable
+13
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.filterInvalidSubdomainLabel = filterInvalidSubdomainLabel;
|
||||
function filterInvalidSubdomainLabel(subdomainLabel) {
|
||||
if (subdomainLabel.length > 63) {
|
||||
return false;
|
||||
}
|
||||
return (subdomainLabel.length < 4 ||
|
||||
subdomainLabel[0] !== 'x' ||
|
||||
subdomainLabel[1] !== 'n' ||
|
||||
subdomainLabel[2] !== '-' ||
|
||||
subdomainLabel[3] !== '-');
|
||||
}
|
||||
Reference in New Issue
Block a user