lucascranach / cranach-api

API to retrieve data from the Cranach Digital Archive
0 stars 0 forks source link

refactor: set 'Content-Type' header to 'application/json' in cacheMiddleware #158

Closed vschaefer closed 2 weeks ago

vschaefer commented 3 weeks ago

When the data was returned from the cache, the content type was not set to application/json, so the content type was automatically set to text/html.