MCPcopy
hub / github.com/HelloZeroNet/ZeroNet / getSiteUrl

Method getSiteUrl

src/Ui/UiRequest.py:388–392  ·  view source on GitHub ↗
(self, address)

Source from the content-addressed store, hash-verified

386 return False
387
388 def getSiteUrl(self, address):
389 if self.isProxyRequest():
390 return "http://zero/" + address
391 else:
392 return "/" + address
393
394 def getWsServerUrl(self):
395 if self.isProxyRequest():

Callers

nothing calls this directly

Calls 1

isProxyRequestMethod · 0.95

Tested by

no test coverage detected