aboutsummaryrefslogtreecommitdiffstats
path: root/web/command/handler/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'web/command/handler/create.go')
-rw-r--r--web/command/handler/create.go4
1 files changed, 0 insertions, 4 deletions
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 {