reworked the chat layout and fixed a rate limiting mistake

This commit is contained in:
2025-12-28 20:29:13 +01:00
parent 3633b6594c
commit dd293c8e3d
11 changed files with 424 additions and 261 deletions

View File

@@ -1,12 +1,19 @@
import { createApp } from 'vue'
import router from './router'
import App from './App.vue'
import { validateToken } from './stores/auth.ts'
import './base.css'
createApp(App)
.use(router)
.mount('#app')
async function init() {
await validateToken()
const app = createApp(App)
app.use(router)
app.mount('#app')
}
init()
export const API = 'http://127.0.0.1:8080'
export const API_WS = 'ws://127.0.0.1:8080/ws'