Skip to content

Commit 7b109ed

Browse files
Update router.ts
1 parent 3caf5d3 commit 7b109ed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/registry/router.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export function create(app: Express, conf: Config, repository: Repository) {
3030

3131
const prefix = conf.prefix;
3232
const publishRateLimiter = createPublishRateLimiter(conf);
33-
console.log('publishRateLimiter', publishRateLimiter);
3433

3534
if (prefix !== '/') {
3635
app.get('/', (_req, res) => res.redirect(prefix));
@@ -53,7 +52,7 @@ export function create(app: Express, conf: Config, repository: Repository) {
5352
} else {
5453
app.put(
5554
`${prefix}:componentName/:componentVersion`,
56-
// publishRateLimiter,
55+
publishRateLimiter,
5756
conf.beforePublish,
5857
routes.publish
5958
);

0 commit comments

Comments
 (0)