diff options
Diffstat (limited to '_www/rescached.js')
| -rw-r--r-- | _www/rescached.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_www/rescached.js b/_www/rescached.js index 5694635..12ee4da 100644 --- a/_www/rescached.js +++ b/_www/rescached.js @@ -234,10 +234,10 @@ class Rescached { Object.assign(got, this.env); - got.PruneDelay = got.PruneDelay * this.nanoSeconds; - got.PruneThreshold = got.PruneThreshold * this.nanoSeconds; + got.PruneDelay = got.PruneDelay * Rescached.nanoSeconds; + got.PruneThreshold = got.PruneThreshold * Rescached.nanoSeconds; - const httpRes = await fetch(this.server + "/api/environment", { + const httpRes = await fetch("/api/environment", { method : "POST", headers : { [headerContentType] : contentTypeJson, |
