Skip to content

Commit

Permalink
remove v2 reference
Browse files Browse the repository at this point in the history
  • Loading branch information
caioeverest committed Feb 4, 2024
1 parent 7ce34fd commit 20e0c00
Show file tree
Hide file tree
Showing 24 changed files with 3 additions and 821 deletions.
2 changes: 0 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"github.com/marcopollivier/techagenda/pkg/event"
"github.com/marcopollivier/techagenda/pkg/lending"
"github.com/marcopollivier/techagenda/pkg/oauth"
"github.com/marcopollivier/techagenda/pkg/static"
"github.com/marcopollivier/techagenda/pkg/tag"
"github.com/marcopollivier/techagenda/pkg/user"
"github.com/marcopollivier/techagenda/pkg/venue"
Expand All @@ -38,7 +37,6 @@ var rootCmd = &cobra.Command{
venue.Module(),

lending.Module(),
static.Module(),
).Run()
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/lending/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func NewLendingHandler(server *echo.Echo, eventService event.Service, tagService
server.Static("/assets", "./ui/public/")
server.Static("/favicon.ico", "./ui/public/favicon.ico")

server.GET("/v2", func(c echo.Context) (err error) {
server.GET("/", func(c echo.Context) (err error) {
var (
ctx = c.Request().Context()
qp event.QueryParams
Expand Down
2 changes: 1 addition & 1 deletion pkg/oauth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func CheckCurrentSession(res http.ResponseWriter, req *http.Request) (us session
func getReferer(req *http.Request) string {
referer := req.Header.Get("Referer-c")
if lo.IsEmpty(referer) {
referer = "/v2"
referer = "/"
}
return referer
}
9 changes: 0 additions & 9 deletions pkg/static/fx.go

This file was deleted.

7 changes: 0 additions & 7 deletions pkg/static/static.go

This file was deleted.

107 changes: 0 additions & 107 deletions public/carousel.js

This file was deleted.

211 changes: 0 additions & 211 deletions public/eventos.json

This file was deleted.

Binary file removed public/img/conferencia.jpg
Binary file not shown.
Binary file removed public/img/forma1.png
Binary file not shown.
Binary file removed public/img/github-mark.png
Binary file not shown.
Binary file removed public/img/gopherconbr/logo.png
Binary file not shown.
Binary file removed public/img/lead-img.jpg
Binary file not shown.
Binary file removed public/img/meetups.jpg
Binary file not shown.
Binary file removed public/img/menu-mobile.png
Binary file not shown.
Binary file removed public/img/palestras.jpg
Binary file not shown.
Binary file removed public/img/slide-default.png
Binary file not shown.
Binary file removed public/img/slide-first.png
Binary file not shown.
Binary file removed public/img/slide-second.png
Binary file not shown.
Binary file removed public/img/slide-third.png
Binary file not shown.
Binary file removed public/img/workshops.jpg
Binary file not shown.
Loading

0 comments on commit 20e0c00

Please sign in to comment.