Created
July 25, 2010 20:20
-
-
Save scottswezey/489849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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