Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bcd457e2d6 | |||
| 8eef4fc477 | |||
| 614867bd12 | |||
| cdf2bf5952 |
@@ -1,13 +1,13 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
# tags:
|
||||
# - "v[0-9]+.[0-9]+.[0-9]+"
|
||||
# on:
|
||||
# push:
|
||||
# tags:
|
||||
# - "v[0-9]+.[0-9]+.[0-9]+"
|
||||
|
||||
# paths:
|
||||
# - ".gitea/workflows/deploy-client.yml"
|
||||
# - "client/**"
|
||||
# paths:
|
||||
# - ".gitea/workflows/deploy-client.yml"
|
||||
# - "client/**"
|
||||
|
||||
jobs:
|
||||
publish-windows:
|
||||
|
||||
@@ -66,11 +66,11 @@ export const useSignaling = createSharedComposable(() => {
|
||||
|
||||
const uri = host ? `${protocol}//${host}` : ``
|
||||
|
||||
socket.value = io(`http://localhost:4000/webrtc`, {
|
||||
path: `/chad/ws`,
|
||||
transports: ['websocket'],
|
||||
// socket.value = io(`${uri}/webrtc`, {
|
||||
// path: `${pathname}/ws`,
|
||||
// socket.value = io(`http://localhost:4000/webrtc`, {
|
||||
// path: `/chad/ws`,
|
||||
// transports: ['websocket'],
|
||||
socket.value = io(`${uri}/webrtc`, {
|
||||
path: `${pathname}/ws`,
|
||||
withCredentials: true,
|
||||
auth: {
|
||||
userId: me.value.id,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="grid grid-cols-2 h-screen">
|
||||
<div class="flex flex-col shadow-xl shadow-surface-950 overflow-y-hidden">
|
||||
<AppHeader title="Шальные сиськи 18+">
|
||||
<AppHeader title="Надарики">
|
||||
<template #right>
|
||||
<PrimeButtonGroup class="ml-auto">
|
||||
<PrimeButton
|
||||
|
||||
@@ -7,7 +7,7 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
|
||||
if (!isTauri.value)
|
||||
return
|
||||
|
||||
if (from?.name)
|
||||
if (from?.name || !!to.redirectedFrom)
|
||||
return
|
||||
|
||||
const { checkForUpdates } = useUpdater()
|
||||
@@ -15,6 +15,6 @@ export default defineNuxtRouteMiddleware(async (to, from) => {
|
||||
const update = await checkForUpdates()
|
||||
|
||||
if (update) {
|
||||
return navigateTo({ name: 'Updating' })
|
||||
return navigateTo({ name: 'Updater' })
|
||||
}
|
||||
})
|
||||
|
||||
@@ -23,7 +23,6 @@ definePageMeta({
|
||||
auth: false,
|
||||
middleware: () => {
|
||||
const { lastUpdate } = useUpdater()
|
||||
|
||||
if (!lastUpdate.value)
|
||||
return navigateTo('/')
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
||||
"productName": "chad",
|
||||
"version": "0.2.7",
|
||||
"version": "0.2.10",
|
||||
"identifier": "xyz.koptilnya.chad",
|
||||
"build": {
|
||||
"frontendDist": "../.output/public",
|
||||
|
||||
Reference in New Issue
Block a user