Frontend created and rewritten a few times, with some backend fixes #1
|
@ -4,7 +4,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<link rel="icon" href="/favicon.ico">
|
<link rel="icon" href="/favicon.ico">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<title>Vite App</title>
|
<title>Vite Vasanko</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
|
@ -28,10 +28,11 @@
|
||||||
})
|
})
|
||||||
|
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
const documentHandler = new DocumentHandler()
|
|
||||||
const documentUploadHandler = new DocumentUploadHandler()
|
|
||||||
console.log('Actual Path')
|
console.log('Actual Path')
|
||||||
console.log(Router.currentRoute.value.path)
|
console.log(Router.currentRoute.value.path)
|
||||||
|
console.log(Router.currentRoute)
|
||||||
|
const documentHandler = new DocumentHandler()
|
||||||
|
const documentUploadHandler = new DocumentUploadHandler()
|
||||||
const wsWatch = createWebSocket(url_document_watch_ws, documentHandler.handleWebSocketMessage)
|
const wsWatch = createWebSocket(url_document_watch_ws, documentHandler.handleWebSocketMessage)
|
||||||
const wsUpload = createWebSocket(url_document_upload_ws, documentUploadHandler.handleWebSocketMessage)
|
const wsUpload = createWebSocket(url_document_upload_ws, documentUploadHandler.handleWebSocketMessage)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user