[erlang-questions] cowboy: dispatch on chrome/firefox vs android/iphone

t x txrev319@REDACTED
Sat Apr 12 02:48:30 CEST 2014


  Using cowboy, is there a easy way to, for:

  mysite.com/ serve

  * ~/static/desktop.html if browser = chrome/firefox
  * ~/static/mobile.html if browser = android/iphone ?

  (Sample code to steal would be ideal; though functions to lookup
suffices too.)


More information about the erlang-questions mailing list