Skip to content

Commit

Permalink
feat: support force delete (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored Dec 16, 2021
1 parent 5d2a680 commit ab52e54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,7 @@ app.put(/^\/[^/]+$/, wrap(publish));
app.put('/-/package/:package/dist-tags/:tag', wrap(putDeleteTag));
app.delete('/-/package/:package/dist-tags/:tag', wrap(putDeleteTag));
app.put('/:package/-rev/:sha', wrap(putDeleteVersion));
app.delete('/:package/-rev/:tag', wrap(putDeleteVersion));
app.delete('/:package/-/:tarball/-rev/:sha', wrap(putDeleteVersion));

const port = process.env.PORT || 8080;
Expand Down

0 comments on commit ab52e54

Please sign in to comment.