diff options
author | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-07-15 16:56:10 +0530 |
---|---|---|
committer | MikunoNaka <bokuwakanojogahoshii@yahoo.com> | 2021-07-15 16:56:10 +0530 |
commit | f53b1e98f3b3dafddac97ad22d01ca4ed6bd6959 (patch) | |
tree | 2ed87172f52f6590f57402a10ec2c3706fbb40b8 /main.go | |
parent | 49bf6194a0ea7239caa62698ad3b6a9e17027279 (diff) |
fixed 404 error because of build being in different directory
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ func main() { r.Use(gin.Logger()) r.Use(static.Serve("/", - static.LocalFile("./build", true))) + static.LocalFile("./../build", true))) r.Run(":" + os.Getenv("PORT")) } |