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

Method actionIndex

src/Ui/UiRequest.py:321–322  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

319 yield b"Location changed: " + url.encode("utf8")
320
321 def actionIndex(self):
322 return self.actionRedirect("/" + config.homepage)
323
324 # Render a file from media with iframe site wrapper
325 def actionWrapper(self, path, extra_headers=None):

Callers 1

routeMethod · 0.95

Calls 1

actionRedirectMethod · 0.95

Tested by

no test coverage detected