Private
Public Access
1
0

Add kanban.catrenelle.com to seed hostnames

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Catherine Renelle
2026-02-25 22:13:27 -05:00
parent f90489c2ff
commit bdb8af6ca2
+3 -3
View File
@@ -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');
} }