clean up: remove unused start.sh/pyinstaller.spec, deduplicate constants, update .gitignore
This commit is contained in:
parent
8ccd8a5fd3
commit
6b24c34056
4 changed files with 7 additions and 87 deletions
6
app.py
6
app.py
|
|
@ -13,8 +13,6 @@ import templates as templates_mod
|
|||
import gateway
|
||||
from gateway import GatewayState, GatewayHandler
|
||||
|
||||
APP_NAME = "tinyweb"
|
||||
ASPECTS = ["server"]
|
||||
IDENTITY_FILE = "tinyweb_identity"
|
||||
DEFAULT_TRANSPORT_HOST = "rnode.bre.land"
|
||||
DEFAULT_TRANSPORT_PORT = 4242
|
||||
|
|
@ -265,8 +263,8 @@ def main():
|
|||
identity,
|
||||
RNS.Destination.IN,
|
||||
RNS.Destination.SINGLE,
|
||||
APP_NAME,
|
||||
*ASPECTS,
|
||||
gateway.APP_NAME,
|
||||
*gateway.ASPECTS,
|
||||
)
|
||||
|
||||
destination.register_request_handler(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue