Skip to content

Commit

Permalink
add ep delete
Browse files Browse the repository at this point in the history
  • Loading branch information
gllm-dev committed Apr 11, 2024
1 parent a2a3a5c commit 3862463
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/infrastructure/handlers/rest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (s *Server) Start(ctx context.Context) error {
u.Use(authMdw.AuthenticateUser)
u.HandleFunc("", shareHdl.GetShare).Methods(http.MethodGet)
u.HandleFunc("", shareHdl.RegisterShare).Methods(http.MethodPost)
u.HandleFunc("", shareHdl.DeleteShare).Methods(http.MethodDelete)

extraHeaders := strings.Split(s.config.CORSExtraAllowedHeaders, ",")
c := cors.New(cors.Options{
Expand Down

0 comments on commit 3862463

Please sign in to comment.