Private network during build time
eugenepro2
PROOP

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.

Solved

5 Replies

eugenepro2
PROOP

a year ago

2eff4e1b-ae16-4a77-95bd-f9c730471eab


dev
MODERATOR

a year ago

The V2 builder allows private network during build time


xevion
HOBBY

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.


brody
EMPLOYEE

a year ago

build command -> true (yes just put the word true)
start command -> npm run build && npm run start


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...