#12 introduce GATEWAY_PORT, rename GATEWAY_HOST and GATEWAY_PROTOCOL to EXTERNAL_HOST and EXTERNAL_PROTOCOL

Keep GATEWAY_HOST and GATEWAY_PROTOCOL for backwards compatibility (for now)
This commit is contained in:
Alok Saldanha
2019-11-17 19:03:47 -05:00
parent 91c9607808
commit 9532375eb0
6 changed files with 15 additions and 19 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ class CacheEntry:
dataset = self.dataset
gateway_basepath = (
f"{env.gateway_protocol}://{env.gateway_host}/view/{dataset}/"
f"{env.external_protocol}://{env.external_host}/view/{dataset}/"
)
subpath = path[len(dataset) :] # noqa: E203