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}` : `` 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,

View File

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

View File

@@ -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.9", "version": "0.2.11",
"identifier": "xyz.koptilnya.chad", "identifier": "xyz.koptilnya.chad",
"build": { "build": {
"frontendDist": "../.output/public", "frontendDist": "../.output/public",