> Actually, it assumes whatever the default is which might be
> http://localhost:8000. See
> https://gitlab.com/mailman/mailman-web/-/blob/master/mailman_web/settings/mailman.py?ref_type=heads#L16

This is just tossing out some ideas, and it may not be worth it, but in the 
code instead of hardcoding the variable:  

POSTORIUS_TEMPLATE_BASE_URL = 'http://localhost:8000'

Compute the value dynamically based on the function 
request.build_absolute_uri() , or request.get_full_path().

Still allowing the user to override POSTORIUS_TEMPLATE_BASE_URL in their own 
settings.py file, but in the absence of settings.py, it uses "absolute_uri" 
from the request session.
_______________________________________________
Mailman-users mailing list -- mailman-users@mailman3.org
To unsubscribe send an email to mailman-users-le...@mailman3.org
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/B7JPLF4KV372NOB74Y7DUBNNET4LXPVE/

This message sent to arch...@mail-archive.com

Reply via email to