Fix get files

This commit is contained in:
Andy-Ruda 2023-10-26 09:14:24 -05:00
parent 4bc9cf4534
commit 859d312913
3 changed files with 99 additions and 94 deletions

View File

@ -30,6 +30,11 @@ import { url_document_get } from '@/repositories/Document';
const dataURL = ref<string>('') const dataURL = ref<string>('')
watchEffect(()=>{ watchEffect(()=>{
console.log('😎😎😎😎')
console.log(url_document_get)
console.log(Router.currentRoute)
console.log(Router.currentRoute.value.path)
console.log('----------')
dataURL.value = new URL( dataURL.value = new URL(
url_document_get + Router.currentRoute.value.path, url_document_get + Router.currentRoute.value.path,
location.origin.replace( /^http/, 'ws') location.origin.replace( /^http/, 'ws')

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
<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 Vasanko</title> <title>Vite Vasanko</title>
<script type="module" crossorigin src="/assets/index-5b9f340c.js"></script> <script type="module" crossorigin src="/assets/index-04b5e7e6.js"></script>
<link rel="stylesheet" href="/assets/index-fe1bb208.css"> <link rel="stylesheet" href="/assets/index-fe1bb208.css">
</head> </head>
<body> <body>