diff options
Diffstat (limited to 'application_router.go')
-rw-r--r-- | application_router.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/application_router.go b/application_router.go index bd876da..9f497e8 100644 --- a/application_router.go +++ b/application_router.go @@ -19,6 +19,9 @@ func CreateApplicationRouter(applicationContext *ApplicationContext) *gin.Engine router.MaxMultipartMemory = 8 << 30 router.Use(static.Serve("/", static.LocalFile("./frontend/build", true))) + router.GET("/connections/:id", func(c *gin.Context) { + c.File("./frontend/build/index.html") + }) router.POST("/setup", func(c *gin.Context) { if applicationContext.IsConfigured { |