From ff813b218b6f2f4181da85adfb0593d278e226ea Mon Sep 17 00:00:00 2001 From: Krunoslav Husak Date: Fri, 13 Sep 2024 11:34:52 +0200 Subject: [PATCH] SPA route --- backend/config/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/config/routes.go b/backend/config/routes.go index 0bb2568..e89700c 100644 --- a/backend/config/routes.go +++ b/backend/config/routes.go @@ -9,6 +9,6 @@ func Routes() raptor.Routes { raptor.Route("PATCH", "pastes/:id", "PastesController", "Update"), raptor.Route("POST", "pastes", "PastesController", "Create"), ), - raptor.Route("GET", "*", "SPAController", "Index"), + raptor.Route("GET", "/*", "SPAController", "Index"), ) }