Skip to content

Commit

Permalink
Removed SPA controller
Browse files Browse the repository at this point in the history
  • Loading branch information
h00s committed Sep 13, 2024
1 parent f72b35e commit 2f7952b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
11 changes: 0 additions & 11 deletions backend/app/controllers/spa_controller.go

This file was deleted.

1 change: 0 additions & 1 deletion backend/config/initializers/controllers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ import (
func Controllers() raptor.Controllers {
return raptor.Controllers{
&controllers.PastesController{},
&controllers.SPAController{},
}
}
1 change: 0 additions & 1 deletion backend/config/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ func Routes() raptor.Routes {
raptor.Route("PATCH", "pastes/:id", "PastesController", "Update"),
raptor.Route("POST", "pastes", "PastesController", "Create"),
),
// raptor.Route("GET", "/*", "SPAController", "Index"),
)
}
2 changes: 1 addition & 1 deletion backend/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ go 1.23.1

require (
github.com/go-raptor/connector/bun/postgres v1.0.0
github.com/go-raptor/raptor/v3 v3.0.0-alpha.5
github.com/go-raptor/raptor/v3 v3.0.0-alpha.7
)

require (
Expand Down
4 changes: 4 additions & 0 deletions backend/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ github.com/go-raptor/raptor/v3 v3.0.0-alpha.4 h1:e45asXTcUUdfqIiBLIzg/mBtou2fnIY
github.com/go-raptor/raptor/v3 v3.0.0-alpha.4/go.mod h1:rUUZhJZs5oax5yNcjbn8Rcp9PFGBbVZqaNfDPTaHl08=
github.com/go-raptor/raptor/v3 v3.0.0-alpha.5 h1:0/ojw+ckfpbi9MlXVToMQqgvM89ivnKX8gFGxRoeq7E=
github.com/go-raptor/raptor/v3 v3.0.0-alpha.5/go.mod h1:rUUZhJZs5oax5yNcjbn8Rcp9PFGBbVZqaNfDPTaHl08=
github.com/go-raptor/raptor/v3 v3.0.0-alpha.6 h1:Nha2jfwda5oh1YL17eaP7YF/dRT85iDvxpDsL6K5MbQ=
github.com/go-raptor/raptor/v3 v3.0.0-alpha.6/go.mod h1:rUUZhJZs5oax5yNcjbn8Rcp9PFGBbVZqaNfDPTaHl08=
github.com/go-raptor/raptor/v3 v3.0.0-alpha.7 h1:6rWWF3alzu1CFEPFvlqpaOt/JMerangZfGq3RwEKCfw=
github.com/go-raptor/raptor/v3 v3.0.0-alpha.7/go.mod h1:rUUZhJZs5oax5yNcjbn8Rcp9PFGBbVZqaNfDPTaHl08=
github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM=
Expand Down

0 comments on commit 2f7952b

Please sign in to comment.