FreedomBox/issues/links.org
Nick Daly ded54c9c48 Created link issue.
Plinth really should link clients to the right pages.
2012-10-07 20:36:50 -05:00

1.2 KiB

Make Links Portable

Issue

Currently, all the links in Plinth point to 127.0.0.1/(something), and that sucks for serving Plinth on a local network, like most use cases imply.

Fixes [0/1]

TODO Links work when accessed from remote clients.

Investigate the following:

grep -nHr basehref ../*
grep -nHr 127.0 ../*

fabfile.py:40: if env.host = "localhost" or env.host="127.0.0.1": fabfile.py:46: if env.host = "localhost" or env.host="127.0.0.1": fabfile.py:102: hidden_service_config = "HiddenServiceDir %s\nHiddenServicePort 80 127.0.0.1:%d" % (tor_dir, santiago_port) modules/installed/santiago/santiago.py:48: hidden_service_config = "HiddenServiceDir %s\nHiddenServicePort 80 127.0.0.1:%d" % (self.tor_dir, santiago_port) plinth.py:119: server.socket_host = '127.0.0.1'

Also, why is base_href blank in cfg.sample.py?

Discussion

Metadata