Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (28 sloc) 993 Bytes
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Redirecting to download...</title>
<meta name="description" content="A demo app landing page, powered by Twilio">
<meta name="author" content="Twilio Inc. via Kevin Whinnery (@kevinwhinnery)">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
</head>
<body>
<p>Redirecting to app download...</p>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script type="text/javascript">
//Grab configuration info, determine platform
$.getJSON('/config.json', function(data) {
if (navigator.userAgent.match(/Android/i)) {
window.location.href = data.androidLink;
}
else if (navigator.userAgent.match(/iPhone|iPad|iPod/i)) {
window.location.href = data.iosLink;
}
else {
window.location.href = '/m.html';
}
});
</script>
</body>
</html>
Something went wrong with that request. Please try again.