Increase auto subdomain generation cardinality (#12206)
Fixes https://github.com/twentyhq/twenty/issues/12204
This commit is contained in:
@ -30,6 +30,31 @@ export const generateRandomSubdomain = () => {
|
|||||||
'wise',
|
'wise',
|
||||||
'witty',
|
'witty',
|
||||||
'zany',
|
'zany',
|
||||||
|
'agile',
|
||||||
|
'amazing',
|
||||||
|
'awesome',
|
||||||
|
'brilliant',
|
||||||
|
'cheerful',
|
||||||
|
'dashing',
|
||||||
|
'dynamic',
|
||||||
|
'elegant',
|
||||||
|
'energetic',
|
||||||
|
'excellent',
|
||||||
|
'fantastic',
|
||||||
|
'friendly',
|
||||||
|
'glorious',
|
||||||
|
'grand',
|
||||||
|
'helpful',
|
||||||
|
'honest',
|
||||||
|
'innovative',
|
||||||
|
'inspiring',
|
||||||
|
'jolly',
|
||||||
|
'lively',
|
||||||
|
'magical',
|
||||||
|
'optimistic',
|
||||||
|
'peaceful',
|
||||||
|
'powerful',
|
||||||
|
'radiant',
|
||||||
];
|
];
|
||||||
const suffixes = [
|
const suffixes = [
|
||||||
'bear',
|
'bear',
|
||||||
@ -62,6 +87,26 @@ export const generateRandomSubdomain = () => {
|
|||||||
'tiger',
|
'tiger',
|
||||||
'whale',
|
'whale',
|
||||||
'wolf',
|
'wolf',
|
||||||
|
'antelope',
|
||||||
|
'badger',
|
||||||
|
'buffalo',
|
||||||
|
'camel',
|
||||||
|
'cheetah',
|
||||||
|
'deer',
|
||||||
|
'dragon',
|
||||||
|
'gazelle',
|
||||||
|
'gorilla',
|
||||||
|
'hippo',
|
||||||
|
'jaguar',
|
||||||
|
'lemur',
|
||||||
|
'leopard',
|
||||||
|
'llama',
|
||||||
|
'meerkat',
|
||||||
|
'otter',
|
||||||
|
'peacock',
|
||||||
|
'phoenix',
|
||||||
|
'rhino',
|
||||||
|
'zebra',
|
||||||
];
|
];
|
||||||
|
|
||||||
const colors = [
|
const colors = [
|
||||||
@ -95,6 +140,26 @@ export const generateRandomSubdomain = () => {
|
|||||||
'violet',
|
'violet',
|
||||||
'white',
|
'white',
|
||||||
'yellow',
|
'yellow',
|
||||||
|
'aqua',
|
||||||
|
'bronze',
|
||||||
|
'burgundy',
|
||||||
|
'cerulean',
|
||||||
|
'charcoal',
|
||||||
|
'coral',
|
||||||
|
'emerald',
|
||||||
|
'fuchsia',
|
||||||
|
'garnet',
|
||||||
|
'jade',
|
||||||
|
'lavender',
|
||||||
|
'mauve',
|
||||||
|
'navy',
|
||||||
|
'olive',
|
||||||
|
'platinum',
|
||||||
|
'plum',
|
||||||
|
'rose',
|
||||||
|
'ruby',
|
||||||
|
'sapphire',
|
||||||
|
'scarlet',
|
||||||
];
|
];
|
||||||
|
|
||||||
const randomPrefix = prefixes[Math.floor(Math.random() * prefixes.length)];
|
const randomPrefix = prefixes[Math.floor(Math.random() * prefixes.length)];
|
||||||
|
|||||||
Reference in New Issue
Block a user