Skip to content

Set up Nginx Proxy and Run Next.js Application in Docker Environment#33

Open
sammrai wants to merge 2 commits intohyperliquid-dex:mainfrom
sammrai:main
Open

Set up Nginx Proxy and Run Next.js Application in Docker Environment#33
sammrai wants to merge 2 commits intohyperliquid-dex:mainfrom
sammrai:main

Conversation

@sammrai
Copy link

@sammrai sammrai commented Mar 2, 2024

This merge request aims to resolve CORS errors in the local development environment by setting up an Nginx proxy and running the Next.js application in a Docker environment. The CORS error occurs when accessing https://stats-api.hyperliquid.xyz/ directly, hence the need for a local proxy to act as an intermediary and bypass the CORS restriction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant