Show the time that the server was started in a HTTP header
This commit is contained in:
parent
a0688e4b55
commit
5d3a94bffa
|
@ -54,6 +54,7 @@ let myHeaders = {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"X-Powered-By": "Nim and Jester",
|
"X-Powered-By": "Nim and Jester",
|
||||||
"X-Git-Hash": getEnv("GIT_REV"),
|
"X-Git-Hash": getEnv("GIT_REV"),
|
||||||
|
"X-Server-Epoch": $ getTime().toSeconds().int,
|
||||||
}
|
}
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
|
Loading…
Reference in New Issue