mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 01:13:39 +10:00
handshakes
This commit is contained in:
+14
-2
@@ -3,6 +3,8 @@
|
||||
<NuxtPage />
|
||||
</NuxtLayout>
|
||||
{{ state }}
|
||||
<input type="text" v-model="debugLocation" />
|
||||
<NuxtLink :to="debugLocation">Go</NuxtLink>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
@@ -23,7 +25,17 @@ switch (state.status) {
|
||||
break;
|
||||
}
|
||||
|
||||
listen("auth/connecting", (event) => {
|
||||
router.push("/auth/connecting");
|
||||
listen("auth/processing", () => {
|
||||
router.push("/auth/processing");
|
||||
});
|
||||
|
||||
listen("auth/failed", () => {
|
||||
router.push("/auth/failed");
|
||||
});
|
||||
|
||||
listen("auth/finished", () => {
|
||||
router.push("/");
|
||||
});
|
||||
|
||||
const debugLocation = ref("");
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user