mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-30 02:12:22 +03:00
environment-settable port
This commit is contained in:
parent
442ae5983e
commit
131a9993dc
3
urb
3
urb
@ -4,6 +4,7 @@
|
|||||||
# - -h text
|
# - -h text
|
||||||
# - output to clay
|
# - output to clay
|
||||||
|
|
||||||
|
import os
|
||||||
import sys
|
import sys
|
||||||
import logging
|
import logging
|
||||||
import json
|
import json
|
||||||
@ -11,7 +12,7 @@ import requests
|
|||||||
import argparse
|
import argparse
|
||||||
import base64
|
import base64
|
||||||
|
|
||||||
PORT = 12321
|
PORT = os.environ.get('LENS_PORT', 12321)
|
||||||
|
|
||||||
logging.basicConfig(level=logging.WARNING,
|
logging.basicConfig(level=logging.WARNING,
|
||||||
format='%(levelname)s %(funcName)s %(lineno)s - %(message)s',
|
format='%(levelname)s %(funcName)s %(lineno)s - %(message)s',
|
||||||
|
Loading…
Reference in New Issue
Block a user