From 08a3fb8a2b0281c3c329b33215ec7f8866add606 Mon Sep 17 00:00:00 2001 From: Leonardo Bishop Date: Mon, 14 Jul 2025 01:24:40 +0100 Subject: Add authentication and ability to change host --- web/command/handler/create.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'web/command/handler/create.go') diff --git a/web/command/handler/create.go b/web/command/handler/create.go index 21c6b1a..46c7779 100644 --- a/web/command/handler/create.go +++ b/web/command/handler/create.go @@ -36,10 +36,6 @@ func PostCreate(mainConfig *config.MainConfig, index *index.SiteIndex) func(http return html.CreatePage("", "A name must be specified", formValues), nil } - if host == "" { - return html.CreatePage("", "A host must be specified", formValues), nil - } - site, err := site.CreateNewSite(name, path.Join(constants.SysDataDir, "sites"), host) if err != nil { -- cgit v1.2.3-70-g09d2