ea1e4aa52d
Replace bindata packages with stdlib go:embed. Modernize some uiserver code with newer interfaces introduced in go 1.16 (mainly working with fs.File instead of http.File. Remove steps that are no longer used from our build files. Add Github Action to detect differences in agent/uiserver/dist and verify that the files are correct (by compiling UI assets and comparing contents).
20 lines
492 B
Plaintext
20 lines
492 B
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Consul</title>
|
|
<script>
|
|
var CURRENT_REQUEST_KEY = '__torii_request';
|
|
var pendingRequestKey = window.localStorage.getItem(CURRENT_REQUEST_KEY);
|
|
|
|
if (pendingRequestKey) {
|
|
window.localStorage.removeItem(CURRENT_REQUEST_KEY);
|
|
var url = window.location.toString();
|
|
window.localStorage.setItem(pendingRequestKey, url);
|
|
}
|
|
|
|
window.close();
|
|
</script>
|
|
</head>
|
|
</html>
|