minsk-hackerspace / hackerspace.by

Website of Minsk Hackerspace (Ruby on Rails)
https://hackerspace.by/
11 stars 20 forks source link

Set default request format to HTML #483

Closed jekhor closed 3 years ago

jekhor commented 3 years ago

Closes #470

abitrolly commented 3 years ago

@jekhor have you traced what does Google requests exactly? I expected that default should work without extra code.

jekhor commented 3 years ago

@abitrolly this is Rails issue, not Google's. Wget and curl give the same result: JSON instead of HTML if 'Accept: /' header is set.