mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-02-02 18:37:04 +01:00
fix oauth url getting too long
This commit is contained in:
parent
789ff71a08
commit
8893355afb
@ -129,7 +129,8 @@ function getChanges(state, keys) {
|
||||
}
|
||||
|
||||
function getCurrentUrl() {
|
||||
return `${window.location.origin}${window.location.pathname}`;
|
||||
let [pre, _past] = window.location.pathname.split("/settings");
|
||||
return `${window.location.origin}${pre}/settings`;
|
||||
}
|
||||
|
||||
function fetchInstanceWithoutStore(domain) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user