commit
213ff718cb
2 changed files with 3 additions and 3 deletions
|
|
@ -2,7 +2,7 @@ import type { StorageFile } from '@/interface/response/storage'
|
|||
import config from "@/api";
|
||||
|
||||
export async function getDocumentList(volume: string, id: string) {
|
||||
const res = await fetch(`${config.API_URI}/document/${volume}/${id}`, {
|
||||
const res = await fetch(`${config.API_URI}/evaluation/document/${volume}/${id}`, {
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
},
|
||||
|
|
@ -19,7 +19,7 @@ export async function getDocumentInfo(
|
|||
id: string,
|
||||
file: string
|
||||
) {
|
||||
const res = await fetch(`${config.API_URI}/document/${volume}/${id}/${file}`, {
|
||||
const res = await fetch(`${config.API_URI}/evaluation/document/${volume}/${id}/${file}`, {
|
||||
headers: {
|
||||
Accept: 'application/json',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
import { ref } from 'vue'
|
||||
|
||||
const env = ref<string>(process.env.NODE_ENV || 'development')
|
||||
export const apiUrlConfig = `${import.meta.env.VITE_API_URI_CONFIG}/api/v1`
|
||||
export const apiUrlConfig = `${import.meta.env.VITE_API_URI_CONFIG}`
|
||||
// if (process.env.VUE_APP_TEST) {
|
||||
// env = "test";
|
||||
// }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue