From 5c1f5ab16b152da5f014f25a02ea844b6f43e090 Mon Sep 17 00:00:00 2001 From: eiiko6 Date: Mon, 15 Dec 2025 17:33:13 +0100 Subject: [PATCH] added timestamps to messages --- src/api/client.ts | 2 +- src/components/MessageList.vue | 15 +++++++++++++-- src/router/index.ts | 8 +++++++- src/stores/auth.ts | 20 +++++++++++++++++++- src/types/api.ts | 1 + 5 files changed, 41 insertions(+), 5 deletions(-) diff --git a/src/api/client.ts b/src/api/client.ts index bea52a8..d1c186a 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -1,6 +1,6 @@ import { initAuth } from '../stores/auth.ts' -const BASE_URL = 'http://192.168.1.183:8081' +const BASE_URL = 'http://localhost:8080' export async function apiFetch( path: string, diff --git a/src/components/MessageList.vue b/src/components/MessageList.vue index 3e79d76..8545777 100644 --- a/src/components/MessageList.vue +++ b/src/components/MessageList.vue @@ -6,7 +6,7 @@ defineProps<{ messages: Message[] }>()