datacite / akita

DataCite Commons
https://commons.datacite.org
MIT License
6 stars 3 forks source link

Fixed middleware and added more bot download prevention #319

Closed bklaing2 closed 8 months ago

bklaing2 commented 8 months ago

Purpose

Bots no longer see Download Reports section on DOI and organization pages. Also fixed middleware failing during build step

Approach

The middleware was failing in the build step due to incompatibility with the bable plugin istanbul. Adding a line to ignore it at the top of the file, as well as moving the related isBot function into the middleware file, resolved the issue.

Open Questions and Pre-Merge TODOs

Learning

Types of changes

Reviewer, please remember our guidelines:

cypress[bot] commented 8 months ago

Passing run #1008 ↗︎

0 64 0 0 Flakiness 0

Details:

Merge edbf7a5b5575c29643737c5eedc249c8cf75ed67 into 323c7d6aef5a6902e669dd3991f3...
Project: akita Commit: d03f910915 ℹ️
Status: Passed Duration: 02:06 💡
Started: Jan 22, 2024 5:24 PM Ended: Jan 22, 2024 5:26 PM

Review all test suite changes for PR #319 ↗︎