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
If the baseUrl contains the origin then yes you're right this will fail. I'll fix this. In the meantime is removing the origin from the base URL an option for you?
@brillout Yup! Still in the testing phases, and do have some workarounds considered, so not production-critical at the moment. Just something noticed during tested that I wanted to bring to attention.
Within
analyzeUrl
, it appears the URL'sorigin
is removed prior to the comparison against the providedbaseUrl
:https://github.com/brillout/vite-plugin-ssr/blob/663886c94cb1fb2b52ac153716bafb65a9e7176e/vite-plugin-ssr/node/renderPage.ts#L1010-L1016
Because of this, it appears
hasBaseUrl
can never betrue
, causing{ httpResponse: null }
to be returned here:https://github.com/brillout/vite-plugin-ssr/blob/663886c94cb1fb2b52ac153716bafb65a9e7176e/vite-plugin-ssr/node/renderPage.ts#L63-L66
The text was updated successfully, but these errors were encountered: