From fa39b708a9ebd12f5c86cd446603047c098c82af Mon Sep 17 00:00:00 2001 From: Milo Schwartz Date: Sat, 11 Jan 2025 19:56:49 -0500 Subject: [PATCH] fix regex for base_domain --- package.json | 2 +- server/lib/config.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 744b65c..14e87d6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@fosrl/pangolin", - "version": "1.0.0-beta.3", + "version": "1.0.0-beta.4", "private": true, "type": "module", "description": "Tunneled Reverse Proxy Management Server with Identity and Access Control and Dashboard UI", diff --git a/server/lib/config.ts b/server/lib/config.ts index 3da4ea3..203a644 100644 --- a/server/lib/config.ts +++ b/server/lib/config.ts @@ -11,9 +11,9 @@ const portSchema = z.number().positive().gt(0).lte(65535); const hostnameSchema = z .string() .regex( - /^(?!-)[a-zA-Z0-9-]{1,63}(?