Closed bellisk closed 3 months ago
Describe the bug I created a new user via registration. The new user's icon url was set to http://127.0.0.1:8000/static/icon-default.png, but should have been https://example.org/static/icon-default.png. (127.0.0.1:8000 is the sample value for OURCHIVE_ROOT_URL, but I had changed this to example.org on initial setup.)
OURCHIVE_ROOT_URL
example.org
To Reproduce
.env
OURCHIVE_SERVER_IP
Expected behavior The new user's icon should use the correct url, e.g. https://example.org/static/icon-default.png.
Screenshots
Hosting Digital Ocean droplet running Ubuntu 22.04.
Probably an issue with static file handling. Will be fixed with next release.
Was indeed an issue with static file handling. Validated with new signup in dev.
Describe the bug I created a new user via registration. The new user's icon url was set to http://127.0.0.1:8000/static/icon-default.png, but should have been https://example.org/static/icon-default.png. (127.0.0.1:8000 is the sample value for
OURCHIVE_ROOT_URL
, but I had changed this toexample.org
on initial setup.)To Reproduce
.env
, updateOURCHIVE_ROOT_URL
to (e.g.)example.org
andOURCHIVE_SERVER_IP
to the actual server IPExpected behavior The new user's icon should use the correct url, e.g. https://example.org/static/icon-default.png.
Screenshots
Hosting Digital Ocean droplet running Ubuntu 22.04.