developersdigest / llm-answer-engine

Build a Perplexity-Inspired Answer Engine Using Next.js, Groq, Llama-3, Langchain, OpenAI, Upstash, Brave & Serper
https://developersdigest.tech
MIT License
4.58k stars 731 forks source link

Unable to run this on Github codespaces #8

Open itsaark opened 6 months ago

itsaark commented 6 months ago

I'm trying to run this on Github codespaces. When I run npm dev run I get the following error.

`x-forwarded-host` header with value `xxxx-xxx-xxxxxxx-3000.app.github.dev` does not match `origin` header with value `localhost:3000` from a forwarded Server Actions request. Aborting the action.
 ⨯ Error: Invalid Server Actions request.
    at AsyncLocalStorage.run (node:async_hooks:346:14)
    at AsyncLocalStorage.run (node:async_hooks:346:14)

I tried suggestions from here and here. They didn't work

developersdigest commented 6 months ago

I have not used Github codespaces before and I won't be able to dig into this for a little bit. If anyone else is familiar and wants to hop in on this one please feel free ! :)