Skip to content

Commit 0067232

Browse files
authored
fix: readme api links (#3)
1 parent 8275dbc commit 0067232

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# controller-api
22

3-
This is currently deployed to api.nicenode.xyz. To test it, enter `https://api.nicenode.xyz/api/controllerLibrary`into a browser and see the results of a GET HTTP on `/controllerLibrary`.
3+
This is currently deployed to `api.nicenode.xyz`. To test it, enter `https://api.nicenode.xyz/api/controller`into a browser and see the results of a GET HTTP on `/controller`, or `https://api.nicenode.xyz/api/controller/geth` to get Geth's `controller`.
44

55
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
66

@@ -12,7 +12,9 @@ First, run the development server:
1212
npm run dev
1313
```
1414

15-
Use `http://localhost:3000/api` as the local controller environment variable in NiceNode or for testing. Or open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
15+
Use `http://localhost:3000/api` as the local controller environment variable in NiceNode or for testing. Or open [http://localhost:3000/api/controller](http://localhost:3000/api/controller) or [http://localhost:3000/api/controllerPackage](http://localhost:3000/api/controllerPackage) with your browser to see the result.
16+
17+
Example `http://localhost:3000/api/controller/besu` returns Besu's controller.
1618

1719
To properly update a controller:
1820
1. Make the change

0 commit comments

Comments
 (0)