solana-playground / solana-playground

Quickly develop, deploy and test Solana programs from browsers
https://beta.solpg.io
Apache License 2.0
399 stars 135 forks source link

localhost playground #207

Open cola8888 opened 2 months ago

cola8888 commented 2 months ago

I have already installed the client and server on the local machine. Why is it still requesting the domain name api.solpg.io during build?

cola8888 commented 2 months ago

微信截图_20240303115301

acheroncrypto commented 2 months ago

You can override this with REACT_APP_SERVER_URL env variable. Create client/.env and add:

REACT_APP_SERVER_URL=http://127.0.0.1:8080
cola8888 commented 2 months ago

thx sir