mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-21 11:55:15 +01:00
don't use async css, use relative api url
This commit is contained in:
parent
4beb6e46ef
commit
28d148590f
@ -25,7 +25,7 @@ frame-src 'self' https://login.microsoftonline.com/ https://login.live.com/"
|
||||
<meta content="#0468a1" name="theme-color">
|
||||
|
||||
<!-- https://www.srihash.org/ -->
|
||||
<link class="async-css" rel="preload" as="style"
|
||||
<link rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.0/css/bootstrap.min.css"
|
||||
integrity="sha512-XWTTruHZEYJsxV3W/lSXG1n3Q39YIWOstqvmFsdNEEQfHoZ6vm6E9GK2OrF6DSJSpIbRbi+Nn0WDPID9O7xB2Q=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer"/>
|
||||
|
File diff suppressed because one or more lines are too long
@ -333,7 +333,7 @@ async function getIpAddress(cors: boolean): Promise<string> {
|
||||
}
|
||||
|
||||
function getNetworkTimestamp(): Promise<number> {
|
||||
return fetch("/api/getEpoch", {"headers": {"accept": "application/json"}})
|
||||
return fetch("api/getEpoch", {"headers": {"accept": "application/json"}})
|
||||
.then(checkFetchSuccess("code"))
|
||||
.then(r => r.json())
|
||||
.then(it => parseInt(it))
|
||||
|
Loading…
Reference in New Issue
Block a user