aboutsummaryrefslogtreecommitdiff
path: root/application_router.go
diff options
context:
space:
mode:
Diffstat (limited to 'application_router.go')
-rw-r--r--application_router.go3
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 {