🚧 redirect create form

This commit is contained in:
Fred KISSIE
2026-09-10 22:05:45 +02:00
parent 9e85b39fd5
commit 7ce2668b5b
11 changed files with 192 additions and 96 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ export const redirects = pgTable("redirects", {
.$type<"exact" | "prefix" | "regex">()
.notNull()
.default("regex"), // exact, prefix, regex
matchPath: varchar("matchPath").notNull().default("*"),
matchPath: varchar("matchPath").notNull().default(".*"),
rewritePath: varchar("rewritePath"), // if set, rewrites the path to this value,
// else, the original path will be kept
rewritePathType: varchar("rewritePathType").$type<