diff options
author | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-24 01:07:11 -0400 |
---|---|---|
committer | Mo Tarbin <mhed.t91@gmail.com> | 2024-07-24 01:07:11 -0400 |
commit | a88946bb7fcfc1632661eafc84eac0aa1c2573c3 (patch) | |
tree | 4e39423ed3feb3d50fa5178b2aef6a3a4e3881a8 /main.go | |
parent | 5cfb906a4f4d9242b69c85c33f3e350f95820ed2 (diff) | |
download | donetick-a88946bb7fcfc1632661eafc84eac0aa1c2573c3.tar.gz donetick-a88946bb7fcfc1632661eafc84eac0aa1c2573c3.tar.bz2 donetick-a88946bb7fcfc1632661eafc84eac0aa1c2573c3.zip |
Update server configuration to disable serving frontend
Diffstat (limited to '')
-rw-r--r-- | main.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7,6 +7,7 @@ import ( "net/http" "donetick.com/core/config" + "donetick.com/core/frontend" "github.com/gin-contrib/cors" "github.com/gin-gonic/gin" "go.uber.org/fx" @@ -77,6 +78,8 @@ func main() { fx.Provide(thing.NewWebhook), fx.Provide(thing.NewHandler), + fx.Provide(frontend.NewHandler), + // fx.Invoke(RunApp), fx.Invoke( chore.Routes, @@ -84,6 +87,7 @@ func main() { circle.Routes, thing.Routes, thing.Webhooks, + frontend.Routes, func(r *gin.Engine) {}, ), |