clean up: remove unused start.sh/pyinstaller.spec, deduplicate constants, update .gitignore
This commit is contained in:
parent
d8c50925d2
commit
b3c38eb5af
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 = "reticulum.derickphan.com"
|
||||
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