Skip to content

Commit c4e51f1

Browse files
authored
Merge pull request #5 from longcipher/fix/fix-env
fix: fix env
2 parents 79223d6 + af8f3ef commit c4e51f1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

frontend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ npm run lint
1212
.env
1313

1414
```sh
15-
PARALLEL_EVM_EXPLORER_SERVER=http://<your-server-host>:<port>
15+
NEXT_PUBLIC_API_SERVER=http://<your-server-host>:<port>
1616
```
1717

1818
```sh

frontend/src/utils/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const fetchRequest = async (url, options = {}) => {
2121

2222
try {
2323
const response = await fetch(
24-
`${process.env.PARALLEL_EVM_EXPLORER_SERVER}${url}`,
24+
`${process.env.NEXT_PUBLIC_API_SERVER}${url}`,
2525
config,
2626
);
2727

0 commit comments

Comments
 (0)