Revert "consolidate test-ip definition, added missing Access-Control-Allow-Origin,"

This reverts commit 56cfeb732e.
This commit is contained in:
CaCO3
2023-01-02 00:55:37 +01:00
parent 56cfeb732e
commit 485e55e0b8
28 changed files with 263 additions and 266 deletions

View File

@@ -18,7 +18,6 @@ p {font-size: 1em;}
}
</style>
<script type="text/javascript" src="common.js"></script>
</head>
<body style="font-family: arial; padding: 0px 10px;">
@@ -36,7 +35,7 @@ p {font-size: 1em;}
<script>
function doReboot() {
// if (confirm("Are you sure you want to reboot the ESP32?")) {
var stringota = getDomainname() + "/reboot";
var stringota = "/reboot";
window.location = stringota;
window.location.href = stringota;
window.location.assign(stringota);