Skip to content

Instantly share code, notes, and snippets.

@scottswezey
Created July 25, 2010 20:20
Show Gist options
  • Save scottswezey/489849 to your computer and use it in GitHub Desktop.
Save scottswezey/489849 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Starting StaticAssetTest App</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
// Do ajax call to '/status' if we get 'Online' redirect
$.ajax({
url: '/status',
success: function(data) {
window.location.replace('/home')
}
});
});
</script>
</head>
<body>
<h1>Starting Application...</h1>
Please wait while the application is started...<br />
Or click here if this is taking too long: <a href="/home">Home</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment