Closed eatyourgreens closed 5 years ago
Production builds set <base href="https://anno.tate.org.uk//"> in the head of the page, which then breaks the site because URLs like https://anno.tate.org.uk//css/main.css don't resolve to https://anno.tate.org.uk/css/main.css.
<base href="https://anno.tate.org.uk//">
I'd recommend just removing the <base> tag from the HTML, and writing out full file paths for URLs where necessary.
<base>
Staging builds add an extra / to base URLs too, but still work: https://preview.zooniverse.org/annotate
Production builds set
<base href="https://anno.tate.org.uk//">
in the head of the page, which then breaks the site because URLs like https://anno.tate.org.uk//css/main.css don't resolve to https://anno.tate.org.uk/css/main.css.I'd recommend just removing the
<base>
tag from the HTML, and writing out full file paths for URLs where necessary.