Browse Source

add random parameter on each request

pull/2/head
Nicolas Massé 9 years ago
parent
commit
220aa4eb92
  1. 6
      views/index.html

6
views/index.html

@ -37,7 +37,11 @@
</style>
<script type="text/javascript">
$().ready(function() {
$.get("/info", function(data) {
$.ajax("/info", {
headers: {
'x-random': + new Date() // timestamp
}
}).done(function(data) {
if (data.podName) {
$("#pod-name").text(data.podName);
}

Loading…
Cancel
Save