Remove deprecated MEMBERS_HOST config
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
This commit is contained in:
parent
df2a7206ab
commit
ce72a392ab
@ -37,8 +37,6 @@ spec:
|
|||||||
value: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
value: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
|
||||||
- name: RECAPTCHA_PRIVATE_KEY
|
- name: RECAPTCHA_PRIVATE_KEY
|
||||||
value: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
value: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe
|
||||||
- name: MEMBERS_HOST
|
|
||||||
value: "https://members.k-space.ee"
|
|
||||||
- name: INVENTORY_ASSETS_BASE_URL
|
- name: INVENTORY_ASSETS_BASE_URL
|
||||||
value: "https://minio.codemowers.eu:9000"
|
value: "https://minio.codemowers.eu:9000"
|
||||||
- name: MONGO_URI
|
- name: MONGO_URI
|
||||||
|
@ -17,7 +17,6 @@ AWS_S3_ENDPOINT_URL = os.environ["AWS_S3_ENDPOINT_URL"]
|
|||||||
BUCKET_NAME = os.environ["BUCKET_NAME"]
|
BUCKET_NAME = os.environ["BUCKET_NAME"]
|
||||||
INVENTORY_ASSETS_BASE_URL = os.environ["INVENTORY_ASSETS_BASE_URL"]
|
INVENTORY_ASSETS_BASE_URL = os.environ["INVENTORY_ASSETS_BASE_URL"]
|
||||||
MONGO_URI = os.environ["MONGO_URI"]
|
MONGO_URI = os.environ["MONGO_URI"]
|
||||||
MEMBERS_HOST = os.environ["MEMBERS_HOST"]
|
|
||||||
SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"] # used to verify (deprecated) incoming requests from slack
|
SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"] # used to verify (deprecated) incoming requests from slack
|
||||||
SLACK_DOORLOG_CALLBACK = os.environ["SLACK_DOORLOG_CALLBACK"] # used for sending logs to private channel
|
SLACK_DOORLOG_CALLBACK = os.environ["SLACK_DOORLOG_CALLBACK"] # used for sending logs to private channel
|
||||||
SLACK_INVENTORY_CALLBACK = os.environ["SLACK_INVENTORY_CALLBACK"] # used for sending logs to public channel
|
SLACK_INVENTORY_CALLBACK = os.environ["SLACK_INVENTORY_CALLBACK"] # used for sending logs to public channel
|
||||||
|
@ -188,7 +188,7 @@ def do_before_request():
|
|||||||
|
|
||||||
@app.context_processor
|
@app.context_processor
|
||||||
def inject_context():
|
def inject_context():
|
||||||
return dict(devenv=devenv, inventory_assets_base_url=const.INVENTORY_ASSETS_BASE_URL, members_host=const.MEMBERS_HOST)
|
return dict(devenv=devenv, inventory_assets_base_url=const.INVENTORY_ASSETS_BASE_URL)
|
||||||
|
|
||||||
def name_check(form, field):
|
def name_check(form, field):
|
||||||
if field.data != field.data.strip():
|
if field.data != field.data.strip():
|
||||||
|
Loading…
Reference in New Issue
Block a user