You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix single-file preview handler using project handler with wrong default
The handler selection at line 251 had the same project-truthiness bug
as the URL path computation: single-file projects used
projectHtmlFileRequestHandler (defaultFile="index.html") instead of
htmlFileRequestHandler (defaultFile=basename of output). This caused
GET / to return 404 for single-file previews since v1.9.
Add isSingleFile guard to handler selection. Also fix test cleanup
by letting createMockProjectContext own temp dir creation.
0 commit comments