allow overriding media endpoint
This commit is contained in:
parent
8cc5482422
commit
6dcf787c4f
|
@ -499,7 +499,7 @@ def media_endpoint():
|
||||||
def generate_config_json():
|
def generate_config_json():
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"media-endpoint": request.base_url + "media",
|
"media-endpoint": os.environ.get(f"MICROCOSM_BASE_URL", request.base_url) + "media",
|
||||||
"syndicate-to": get_syndication_targets(),
|
"syndicate-to": get_syndication_targets(),
|
||||||
"post-types": [
|
"post-types": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue