#Invalid Host Header issue - React App

26 messages · Page 1 of 1 (latest)

willow garnet
mint reefBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

trail kayakBOT
#

Project ID: N/A

willow garnet
#

@half crest :)

gilded stratus
#

No way

half crest
#

🙂

willow garnet
#

I don't know react and am doing a project

half crest
#

react-scripts start starts a development server, lots of issues with that besides being a resource hog

willow garnet
#

okay gotcha what should I use instead

#

idc about resource hog this is temporary

#

`
╔════════ Nixpacks v1.19.0 ═══════╗

║ setup │ nodejs_18, npm-8_x ║

║─────────────────────────────────║

║ install │ npm ci ║

║─────────────────────────────────║

║ build │ npm run build ║

║─────────────────────────────────║

║ start │ npm run start ║

╚═════════════════════════════════╝
`

half crest
willow garnet
#

ty

#

Didn't work

half crest
#

new build logs please

half crest
#

looks good, theres no http requests there, so you are likely hitting the cache

willow garnet
#

wait sorry I was looking at production

#

preproduction looks like it's working! ty brody lifesaver

half crest
#

no problem!

gilded stratus
#

Brody saves the day, again

willow garnet
#

I will never learn js

half crest
#

based