Fix get files #build_commit

This commit is contained in:
Andy-Ruda 2023-10-26 09:34:24 -05:00
parent 859d312913
commit 74987898c9
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ import { watchEffect, ref } from 'vue'
import Router from '@/router/index'; import Router from '@/router/index';
import { url_document_get } from '@/repositories/Document'; import { url_document_get } from '@/repositories/Document';
const dataURL = ref<string>('') const dataURL = ref('')
watchEffect(()=>{ watchEffect(()=>{
console.log('😎😎😎😎') console.log('😎😎😎😎')
console.log(url_document_get) console.log(url_document_get)
@ -37,7 +37,7 @@ watchEffect(()=>{
console.log('----------') 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
).toString(); ).toString();
}) })
const emit = defineEmits({ const emit = defineEmits({

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-04b5e7e6.js"></script> <script type="module" crossorigin src="/assets/index-52a6c063.js"></script>
<link rel="stylesheet" href="/assets/index-fe1bb208.css"> <link rel="stylesheet" href="/assets/index-fe1bb208.css">
</head> </head>
<body> <body>