Tiberium13m agoHN ↗Is this a whole blog post for a simple backend that just routes based on the User-Agent?
ericpauley11m agoHN ↗Believe it or not there are entire companies that are (to simplify, of course) just that: https://www.adjust.com/
Svoka10m agoHN ↗I thought it was something clever, but it shows as URL in QR Scanner, not an APP, which opens browser after activating it, then user would have to confirm redirect to App Store on empty pageTL;DR: it is HTTP redirect based on User-Agent header
Is this a whole blog post for a simple backend that just routes based on the User-Agent?
Believe it or not there are entire companies that are (to simplify, of course) just that: https://www.adjust.com/
I thought it was something clever, but it shows as URL in QR Scanner, not an APP, which opens browser after activating it, then user would have to confirm redirect to App Store on empty page
TL;DR: it is HTTP redirect based on User-Agent header
it's just a server side redirect based on the user agent headers
Err wut... redirecting based on user agents?