mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-01 16:12:45 +00: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() {
|
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) {
|
function fetchInstanceWithoutStore(domain) {
|
||||||
|
|
Loading…
Reference in a new issue