Skip to content

Commit

Permalink
SPA route
Browse files Browse the repository at this point in the history
  • Loading branch information
h00s committed Sep 13, 2024
1 parent d610865 commit ff813b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/config/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)
}

0 comments on commit ff813b2

Please sign in to comment.