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