Access-Control-Allow-Origin: * (or site origin), and Cache-Control: no-store
Also, watch for mixed content (HTTPS page trying to fetch HTTP gateway), either serve the probe from the gateway or expose /time over HTTPS.
<%
Dim epochMilliseconds As Long = CLng((DateTime.UtcNow - New DateTime(1970, 1, 1)).TotalMilliseconds)
Response.Write("{ ""epoch_ms"": " & epochMilliseconds & " }")
%>
(you need to change "/time" to "/time.aspx" for the original HTML page to work)
boulevard•3mo ago