Skip to content

Commit 2ac32fb

Browse files
authored
docs: add .proxy to /api/token call in README (#249)
1 parent f34ae1b commit 2ac32fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ async function setup() {
4747
});
4848

4949
// Retrieve an access_token from your application's server
50-
const response = await fetch('/api/token', {
50+
const response = await fetch('/.proxy/api/token', {
5151
method: 'POST',
5252
headers: {
5353
'Content-Type': 'application/json',

0 commit comments

Comments
 (0)