astro preview appends /
to stylesheet URLs in some circumstances
#10481
Labels
needs triage
Issue needs to be triaged
/
to stylesheet URLs in some circumstances
#10481
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
Given the following circumstances:
output
is set tohybrid
node
adaptertrailingSlash
is set toalways
Then, when running our web app in preview mode with
astro preview
:/
(that's OK for pages, but certainly not for .css or .js files)What's the expected result?
There shouldn't be any forced redirection to routes with an appended trailing slash for subresources such as .css or .js files.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-qrbb9r?file=astro.config.mjs
Participation
The text was updated successfully, but these errors were encountered: