Closed DevShaded closed 3 months ago
Did you also update the config so Inertia can grab the SSR content from the correct place? See https://github.com/inertiajs/inertia-laravel/blob/1.x/config/inertia.php#L26
Thanks for the reply! No, I haven't changed the config. I'll try to do that, and see if that has any changes
This fixed the issue with the SSR rendering. Maybe it should state in the docs how to change the ssr ports... Anyways, thanks for the help.
I recently attempted to change the SSR port in the
ssr.js
file from the default13714
to13715
. However, after making this change, the server-rendered content is not appearing in the browser source code.Steps to Reproduce
ssr.js
from13714
to13715
.php artisan inertia:start-ssr
.Expected Behavior
The server-rendered content should appear in the browser source code, similar to when the default port
13714
is used.Actual Behavior
No server-rendered content is visible in the browser source code after changing the port.
Additional Information
inertia:start-ssr
command.npm run build
.Output Comparison
13715
:13714
: