mirror of
https://github.com/geohot/qira
synced 2025-03-13 10:33:30 +03:00
27 lines
530 B
Python
27 lines
530 B
Python
import os,sys
|
|
|
|
TRACE_LIBRARIES = False
|
|
HOST = '0.0.0.0'
|
|
WEB_PORT = 3002
|
|
SOCAT_PORT = 4000
|
|
FORK_PORT = SOCAT_PORT + 1
|
|
USE_PIN = False
|
|
if os.name == "nt":
|
|
TRACE_FILE_BASE = "c:/qiratmp"
|
|
else:
|
|
TRACE_FILE_BASE = "/tmp/qira_logs/"
|
|
|
|
BASEDIR = os.path.realpath(os.path.dirname(os.path.realpath(__file__))+"/../")
|
|
sys.path.append(BASEDIR)
|
|
|
|
# BAP is no longer supported
|
|
WITH_BAP = False
|
|
|
|
# TODO: make this true in v3
|
|
WITH_STATIC = False
|
|
STATIC_ENGINE = "builtin"
|
|
STATIC_CACHE_BASE = "/tmp/qira_static_cache/"
|
|
|
|
WEBSOCKET_DEBUG = False
|
|
|