Add kanban.catrenelle.com to seed hostnames
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+3
-3
@@ -16,8 +16,8 @@ async function main() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// Map localhost to default tenant
|
// Map hostnames to default tenant
|
||||||
const hostnames = ['localhost', '127.0.0.1'];
|
const hostnames = ['localhost', '127.0.0.1', 'kanban.catrenelle.com'];
|
||||||
for (const hostname of hostnames) {
|
for (const hostname of hostnames) {
|
||||||
await prisma.tenantHostname.upsert({
|
await prisma.tenantHostname.upsert({
|
||||||
where: { hostname },
|
where: { hostname },
|
||||||
@@ -47,7 +47,7 @@ async function main() {
|
|||||||
|
|
||||||
console.log('Seed complete.');
|
console.log('Seed complete.');
|
||||||
console.log(` Tenant: ${tenant.name} (${tenant.id})`);
|
console.log(` Tenant: ${tenant.name} (${tenant.id})`);
|
||||||
console.log(' Hostnames: localhost, 127.0.0.1');
|
console.log(` Hostnames: ${hostnames.join(', ')}`);
|
||||||
console.log(' Admin: admin@example.com / admin123');
|
console.log(' Admin: admin@example.com / admin123');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user