mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 08:28:20 +01:00
fix: 🐛 Fix application name always showing up as "Soapbox" when signing in
This commit is contained in:
parent
4ae54b3af9
commit
d6f61cfd44
|
|
@ -98,7 +98,6 @@ const signIn = async () => {
|
|||
} else {
|
||||
window.location.href = url;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
const signOut = async () => {
|
||||
|
|
|
|||
12
constants.ts
12
constants.ts
|
|
@ -1,12 +0,0 @@
|
|||
export const recommendedClients = [
|
||||
{
|
||||
name: "Soapbox",
|
||||
icon: "https://soapbox.pub/assets/logo.svg",
|
||||
link: "https://fe.soapbox.pub/",
|
||||
},
|
||||
{
|
||||
name: "Megalodon",
|
||||
icon: "https://sk22.github.io/megalodon/mastodon/src/main/res/mipmap-xhdpi/ic_launcher_round.png",
|
||||
link: "https://sk22.github.io/megalodon/",
|
||||
},
|
||||
];
|
||||
|
|
@ -96,7 +96,7 @@ import { useRoute } from "vue-router";
|
|||
const url = useRequestURL();
|
||||
const query = useRoute().query;
|
||||
|
||||
const application = "Soapbox"; //query.application;
|
||||
const application = query.application;
|
||||
const website = query.website
|
||||
? decodeURIComponent(query.website as string)
|
||||
: null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue