Use short alphanumeric H5 subdomain prefix
This commit is contained in:
@@ -114,10 +114,11 @@ class AppConfig {
|
||||
}
|
||||
|
||||
static String _randomWildcardLabel() {
|
||||
final digits = StringBuffer(_random.nextInt(9) + 1);
|
||||
for (var index = 1; index < 16; index += 1) {
|
||||
digits.write(_random.nextInt(10));
|
||||
const alphabet = 'abcdefghijklmnopqrstuvwxyz0123456789';
|
||||
final label = StringBuffer();
|
||||
for (var index = 0; index < 6; index += 1) {
|
||||
label.write(alphabet[_random.nextInt(alphabet.length)]);
|
||||
}
|
||||
return digits.toString();
|
||||
return label.toString();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user