summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorBlaster4385 <venkatesh@tablaster.dev>2024-07-23 01:15:46 +0530
committerBlaster4385 <venkatesh@tablaster.dev>2024-07-25 17:15:47 +0530
commit9b832eaaecf1284b86d00631ee4d5471e5d11bc3 (patch)
tree2caf82c32ec6b78fd1199e74149a883cd686da02 /server
parent2baf3c61092abb3157773fdcd52eeb7bf46e6b91 (diff)
refactor: rewrite frontend
Diffstat (limited to 'server')
-rw-r--r--server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.go b/server/main.go
index cd2e445..ad79bcf 100644
--- a/server/main.go
+++ b/server/main.go
@@ -34,7 +34,7 @@ func registerHandlers(e *echo.Echo) {
e.Use(middleware.BodyLimit(fmt.Sprintf("%dM", maxUploadSize/(1024*1024))))
e.Use(middleware.StaticWithConfig(middleware.StaticConfig{
Root: "dist",
- Index: "upload.html",
+ Index: "index.html",
HTML5: true,
Filesystem: http.FS(dist),
}))