Update endpoints and URL bases configuration
This commit is contained in:
		| @@ -28,9 +28,12 @@ import { watchEffect, ref } from 'vue' | ||||
| import Router from '@/router/index'; | ||||
| import { url_document_get } from '@/repositories/Document'; | ||||
|  | ||||
| const dataURL = ref('') | ||||
| const dataURL = ref<string>('') | ||||
| watchEffect(()=>{ | ||||
|   dataURL.value = url_document_get + Router.currentRoute.value.path | ||||
|   dataURL.value = new URL( | ||||
|     url_document_get + Router.currentRoute.value.path,  | ||||
|     location.origin.replace( /^http/, 'ws') | ||||
|   ).toString(); | ||||
| }) | ||||
| const emit = defineEmits({ | ||||
|     visibleImg(value: boolean){  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user