diff options
author | Blaster4385 <venkatesh@tablaster.dev> | 2024-07-23 01:15:46 +0530 |
---|---|---|
committer | Blaster4385 <venkatesh@tablaster.dev> | 2024-07-25 17:15:47 +0530 |
commit | 9b832eaaecf1284b86d00631ee4d5471e5d11bc3 (patch) | |
tree | 2caf82c32ec6b78fd1199e74149a883cd686da02 /server | |
parent | 2baf3c61092abb3157773fdcd52eeb7bf46e6b91 (diff) |
refactor: rewrite frontend
Diffstat (limited to 'server')
-rw-r--r-- | server/main.go | 2 |
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), })) |