Skip to content

Conversation

simonmichael
Copy link
Owner

@simonmichael simonmichael commented Jul 18, 2024

A followup to #2099, #2100 and #2127. Now relative links to js/css resources will use the same hostname etc. that the main page was requested from, making them work better when accessed via multiple IP addresses/hostnames without an explicit --base-url setting.

Also, --base-url's value must now begin with http[s]://; previously it accepted just a hostname, causing bad links.

Previously it accepted just a hostname, and generated bad links.
A followup to #2099, #2100 and #2127. Now relative links to js/css
resources will use the same hostname etc. the main page was requested
from, making them work better when accessed via multiple IP
addresses/hostnames without an explicit --base-url setting.
@simonmichael simonmichael changed the title web baseurl web: guess a more robust default base url Jul 18, 2024
@simonmichael simonmichael changed the title web: guess a more robust default base url web: guess a more robust default base url; validate --base-url Jul 18, 2024
@simonmichael simonmichael merged commit fa8d223 into master Jul 18, 2024
1 check passed
@simonmichael simonmichael deleted the web-baseurl branch July 18, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant