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
Currently, the HttpGateway in Inertia JS requires the BundleDetector to verify the existence of the SSR bundle. This behavior causes issues when building the SSR application in a separate Docker container without running vite build --ssr in the Laravel container. If the SSR bundle is not detected, SSR requests are not processed, leading to failures.
It would be helpful to provide an option to skip the BundleDetector check in scenarios where the SSR build process is decoupled from the Laravel container.
Steps to Reproduce
Create a Laravel project with Inertia.js and configure SSR.
Build the SSR bundle in a standalone Docker container (not within the Laravel container).
Deploy the Laravel container without running vite build --ssr.
Attempt to process an SSR request.
Expected Behavior
The HttpGateway should allow skipping the BundleDetector check, enabling SSR requests to be processed even if the SSR bundle is not detected within the Laravel container.
Actual Behavior
The HttpGateway requires the SSR bundle to exist within the Laravel container. If it does not, SSR requests fail.
The text was updated successfully, but these errors were encountered:
Currently, the HttpGateway in Inertia JS requires the BundleDetector to verify the existence of the SSR bundle. This behavior causes issues when building the SSR application in a separate Docker container without running vite build --ssr in the Laravel container. If the SSR bundle is not detected, SSR requests are not processed, leading to failures.
It would be helpful to provide an option to skip the BundleDetector check in scenarios where the SSR build process is decoupled from the Laravel container.
Steps to Reproduce
Expected Behavior
The HttpGateway should allow skipping the BundleDetector check, enabling SSR requests to be processed even if the SSR bundle is not detected within the Laravel container.
Actual Behavior
The HttpGateway requires the SSR bundle to exist within the Laravel container. If it does not, SSR requests fail.
The text was updated successfully, but these errors were encountered: