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