diff --git a/frontend/README.md b/frontend/README.md index ded41e0..b251e61 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -12,7 +12,7 @@ npm run lint .env ```sh -PARALLEL_EVM_EXPLORER_SERVER=http://: +NEXT_PUBLIC_API_SERVER=http://: ``` ```sh diff --git a/frontend/src/utils/api.js b/frontend/src/utils/api.js index 36bdc62..0c0ea6a 100644 --- a/frontend/src/utils/api.js +++ b/frontend/src/utils/api.js @@ -21,7 +21,7 @@ const fetchRequest = async (url, options = {}) => { try { const response = await fetch( - `${process.env.PARALLEL_EVM_EXPLORER_SERVER}${url}`, + `${process.env.NEXT_PUBLIC_API_SERVER}${url}`, config, );