This commit is contained in:
2025-12-24 04:35:41 +06:00
parent cdf2bf5952
commit 614867bd12
3 changed files with 0 additions and 6 deletions

View File

@@ -7,8 +7,6 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
if (!isTauri.value)
return
console.log('pizda', to, from)
if (from?.name || !!to.redirectedFrom)
return

View File

@@ -1,7 +1,6 @@
import chadApi from '#shared/chad-api'
export default defineNuxtRouteMiddleware(async (to, from) => {
console.log('ya zdes')
const { me, setMe } = useAuth()
if (!me.value && !from?.name) {

View File

@@ -17,14 +17,11 @@
</template>
<script lang="ts" setup>
console.log('jopa')
definePageMeta({
name: 'Updater',
layout: 'blank',
auth: false,
middleware: () => {
console.log('lastUpdate')
const { lastUpdate } = useUpdater()
if (!lastUpdate.value)
return navigateTo('/')