cosmicds / cds-api

API for accessing the CosmicDS database
GNU General Public License v3.0
0 stars 3 forks source link

Allow requests to `/` and modify message #91

Closed Carifio24 closed 11 months ago

Carifio24 commented 11 months ago

After requiring API keys, the EBS health checker is constantly warning because its requests to / are failing. This PR modifies our API key middleware to ignore /, but does update the root message to let users know that they'll need an API key (unless they've provided one, in which case this portion is omitted).