olehermanse / nowcode

https://nowco.de
MIT License
3 stars 0 forks source link

Fixed issue with cached redirects #45

Closed olehermanse closed 4 years ago

olehermanse commented 4 years ago

Changed response code from 301 to 302.

301 is "Permanently moved".

302 is "Temporary Redirect / Found".

Chrome seems to cache the 301 redirect, which is not what we want. (We want it to redirect to a new buffer every time).

In the future we should probably just do this in the frontend, without a separate request.