Frontend created and rewritten a few times, with some backend fixes #1
|
@ -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
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user