feat(client ui): manual handshake

This commit is contained in:
DecDuck
2024-12-27 12:53:20 +11:00
parent 4f9b94921a
commit 12e312593e
2 changed files with 37 additions and 2 deletions

View File

@ -16,5 +16,8 @@ export default defineEventHandler(async (h3) => {
const token = await clientHandler.generateAuthToken(clientId);
return `drop://handshake/${clientId}/${token}`;
return {
redirect: `drop://handshake/${clientId}/${token}`,
token: `${clientId}/${token}`,
};
});