about summary refs log tree commit diff stats
path: root/cmd/server/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server/main.go')
-rw-r--r--cmd/server/main.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index 26dbe32..1388463 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -25,15 +25,6 @@ func main() {
 	}
 	log.Configure(!runtimeConfig.Development)
 
-	if runtimeConfig.Development {
-		tmpdir, err := os.MkdirTemp("", "website")
-		if err != nil {
-			log.Fatal("could not create temporary directory to build website: %v", err)
-		}
-		runtimeConfig.Root = tmpdir
-		defer os.RemoveAll(tmpdir)
-	}
-
 	sv, err := server.New(&runtimeConfig)
 	if err != nil {
 		log.Error("could not create server", "error", err)