Skip to content
Snippets Groups Projects

fix: add ability to set Auth token on prod manually using local storage

Merged Alexey Lunin requested to merge dashboard-debug-improvement into main
5 files
+ 16
6
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -20,7 +20,7 @@ const App = observer(() => {
},
wsUrl: config.OCMENGINE_WS_URL,
httpUrl: config.OCMENGINE_HTTP_URL,
getToken: async () => auth.getToken() || "",
getAuthorization: async () => config.OCMENGINE_AUTHORIZATION || `Bearer ${auth.getToken()}` || "",
});
setAppLoading(false);
}, [auth]);
Loading