LlamaSwap / interface

Frontend for LlamaSwap
https://swap.defillama.com
85 stars 77 forks source link

fix headers option in next.config.js #81

Closed chenxsan closed 1 year ago

chenxsan commented 1 year ago

Noticed this error in console when running yarn dev:

If we inspect the response header at https://swap.defillama.com/, you can find they weren't added:

Hence I've updated the config accordingly per https://nextjs.org/docs/api-reference/next.config.js/headers.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
llamaswap ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 28, 2023 at 7:38AM (UTC)
chenxsan commented 1 year ago

And here's the response headers from the preview url:

chenxsan commented 1 year ago

Oops, seems something's wrong when deploying production to vercel.

mintdart commented 1 year ago

its not related to ur PR, something wrong with fetching token lists