Skip to content

Commit fd8211e

Browse files
numediawebdunglas
authored andcommitted
fixing misunderstanding (#713)
* fixing misunderstanding api-platform/admin#73 * Update getting-started.md
1 parent c34e3ac commit fd8211e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

admin/getting-started.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ Edit the `src/App.js` file like the following:
2727
import React from 'react';
2828
import { HydraAdmin } from '@api-platform/admin';
2929

30-
export default () => <HydraAdmin entrypoint="https://demo.api-platform.com"/>; // Replace with your own API entrypoint
30+
// Replace with your own API entrypoint: if https://example.com/api/books is the path
31+
// to the collection of book resources, then the entrypoint is https://example.com/api
32+
export default () => <HydraAdmin entrypoint="https://demo.api-platform.com"/>;
3133
```
3234

3335
Be sure to make your API send proper [CORS HTTP headers](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) to allow

0 commit comments

Comments
 (0)