kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Remove unused getter
rodzic
40c7e08744
commit
a25f1bbb1f
|
@ -139,8 +139,7 @@ const store: Module<State, RootState> = {
|
||||||
const instanceUrl = state.instanceUrl ?? location.origin
|
const instanceUrl = state.instanceUrl ?? location.origin
|
||||||
return instanceUrl + relativeUrl
|
return instanceUrl + relativeUrl
|
||||||
},
|
},
|
||||||
domain: (state) => new URL(state.instanceUrl ?? location.origin).hostname,
|
domain: (state) => new URL(state.instanceUrl ?? location.origin).hostname
|
||||||
appDomain: () => location.hostname
|
|
||||||
},
|
},
|
||||||
actions: {
|
actions: {
|
||||||
setUrl ({ commit }, url) {
|
setUrl ({ commit }, url) {
|
||||||
|
|
Ładowanie…
Reference in New Issue