Revert "Merge branch 'external-baseurl' into 'main'"
This reverts commit42ee95a8fe
, reversing changes made tobda99ba152
.
This commit is contained in:
parent
2fd4b82fa0
commit
73c76b54ef
|
@ -103,7 +103,7 @@ export default (getState: () => RootState, authType: string = 'user'): AxiosInst
|
||||||
const state = getState();
|
const state = getState();
|
||||||
const accessToken = getToken(state, authType);
|
const accessToken = getToken(state, authType);
|
||||||
const me = state.me;
|
const me = state.me;
|
||||||
const baseURL = me ? getAuthBaseURL(state, me) : localStorage.getItem('soapbox:external:baseurl') ?? '';
|
const baseURL = me ? getAuthBaseURL(state, me) : '';
|
||||||
|
|
||||||
const relayUrl = state.getIn(['instance', 'nostr', 'relay']) as string | undefined;
|
const relayUrl = state.getIn(['instance', 'nostr', 'relay']) as string | undefined;
|
||||||
const pubkey = state.getIn(['instance', 'nostr', 'pubkey']) as string | undefined;
|
const pubkey = state.getIn(['instance', 'nostr', 'pubkey']) as string | undefined;
|
||||||
|
|
Loading…
Reference in New Issue