2 Commits

Author SHA1 Message Date
4f91309f7f update 2025-12-24 06:29:44 +06:00
bcd457e2d6 update 2025-12-24 06:20:11 +06:00
3 changed files with 7 additions and 7 deletions

View File

@@ -66,11 +66,11 @@ export const useSignaling = createSharedComposable(() => {
const uri = host ? `${protocol}//${host}` : ``
socket.value = io(`http://localhost:4000/webrtc`, {
path: `/chad/ws`,
// socket.value = io(`http://localhost:4000/webrtc`, {
// path: `/chad/ws`,
socket.value = io(`${uri}/webrtc`, {
path: `${pathname}/ws`,
transports: ['websocket'],
// socket.value = io(`${uri}/webrtc`, {
// path: `${pathname}/ws`,
withCredentials: true,
auth: {
userId: me.value.id,

View File

@@ -1,6 +1,6 @@
export default defineNuxtRouteMiddleware(async (to, from) => {
// if (import.meta.dev || import.meta.server)
// return
if (import.meta.dev || import.meta.server)
return
const { isTauri } = useApp()

View File

@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "chad",
"version": "0.2.9",
"version": "0.2.11",
"identifier": "xyz.koptilnya.chad",
"build": {
"frontendDist": "../.output/public",