Replace hard coded auth token
This commit is contained in:
parent
f872fb20f6
commit
b02bf1018a
|
|
@ -3,7 +3,7 @@ import { AppType } from "backend";
|
||||||
|
|
||||||
const client = hc<AppType>("http://localhost:3000", {
|
const client = hc<AppType>("http://localhost:3000", {
|
||||||
headers: {
|
headers: {
|
||||||
Authorization: `Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOiJkeG5icHQ0N3BwdXZ6NW1vbTF1NjF5cnMiLCJpYXQiOjE3MTQ1NjY4MDB9.920-iiSuLiPK0t0GiWIuT_n8BHngPxp1FyvYZ7SBJ7E`,
|
Authorization: `Bearer ${localStorage.getItem("accessToken")}`,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user