a year ago
I found this question: https://help.railway.com/questions/next-js-app-trouble-with-backend-fetch-wh-6529af2c
Do you have any plan to achieve this? I want build Next.js static pages and call private network.
5 Replies
a year ago
The V2 builder allows private network during build time
a year ago
It's very unclear at this point what Railway's stance is on SSG with NextJS. I happen to be dealing with this issue right now - the V2 builder is buggy and has been stated to not be viable, and isn't available outside of US-West apparently.
Runtime builds are the only real option if you want to use SSG or ISR; but how do we do that? Guess I'm figuring out on my own.
a year ago
build command -> true (yes just put the word true)
start command -> npm run build && npm run start
a year ago
!s
Status changed to Solved brody • about 1 year ago