♻️ rename destinationDomain to destinationHost to include the Scheme

This commit is contained in:
Fred KISSIE
2026-09-18 23:55:51 +02:00
parent 57b80bf74e
commit 97c91fbdc9
13 changed files with 65 additions and 51 deletions
+1 -1
View File
@@ -259,7 +259,7 @@ export const redirects = sqliteTable("redirects", {
niceId: text("niceId").notNull(),
name: text("name").notNull(),
subdomain: text("subdomain"),
destinationDomain: text("destinationDomain").notNull(),
destinationHost: text("destinationHost").notNull(), // scheme://host[:port]
pathMatchType: text("pathMatchType")
.$type<"exact" | "prefix" | "regex">()
.notNull()