We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8847cfd commit 25d541fCopy full SHA for 25d541f
2 files changed
packages/hedgehog-lab/src/hooks/useAuth.tsx
@@ -65,6 +65,7 @@ export const useAuth = () => {
65
66
const logout = useCallback(() => {
67
restAuth();
68
+ http.defaults.headers.common["Authorization"] = "";
69
70
if (!!mathAccountPage) {
71
navigate("/");
packages/hedgehog-lab/src/network/http.ts
@@ -11,7 +11,7 @@ switch (hostname) {
11
url = "https://api.hlab.app";
12
break;
13
default:
14
- url = "http://localhost:9000";
+ url = "https://api.hlab.app";
15
}
16
17
axios.defaults.timeout = 100000;
0 commit comments