aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-15 16:56:10 +0530
committerMikunoNaka <bokuwakanojogahoshii@yahoo.com>2021-07-15 16:56:10 +0530
commitf53b1e98f3b3dafddac97ad22d01ca4ed6bd6959 (patch)
tree2ed87172f52f6590f57402a10ec2c3706fbb40b8 /main.go
parent49bf6194a0ea7239caa62698ad3b6a9e17027279 (diff)
fixed 404 error because of build being in different directory
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index c9d0e56..965f426 100644
--- a/main.go
+++ b/main.go
@@ -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"))
}