default front SRV to document.location.host

This commit is contained in:
soratobuneko 2021-01-17 09:02:48 +01:00
parent 584ccf1832
commit 19690cd78d
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
"use strict"
const SRV = "127.0.0.1:8000"
const SRV = document.location.host
// As we expect that the public keys are fetched on a secure connection,
// http should only be concidered if tunneled by ssh or something like
// this.