update

parent 665a46f8
......@@ -3,8 +3,8 @@ export const config = {
// API_ENDPOINT: 'https://cms.vab.vn/api/',
// API_IMAGE_ENDPOINT: 'https://cms.vab.vn/file/upload/',
// dev
API_ENDPOINT: 'https://103.147.34.20:10700/api/',
API_IMAGE_ENDPOINT: 'https://103.147.34.20:10705/file/upload/',
API_ENDPOINT: 'http://103.147.34.20:10700/api/',
API_IMAGE_ENDPOINT: 'http://103.147.34.20:10705/file/upload/',
API_RES_CODE: {
OK: {
......
......@@ -462,7 +462,7 @@ export default defineComponent({
const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro
url: 'https://103.147.34.20:10705/file/upload/', // test
url: 'http://103.147.34.20:10705/file/upload/', // test
method: 'POST',
data: bodyFormData,
......
......@@ -401,7 +401,7 @@ export default defineComponent({
const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro
url: 'https://103.147.34.20:10705/file/upload/', // test
url: 'http://103.147.34.20:10705/file/upload/', // test
method: 'POST',
data: bodyFormData,
......
......@@ -409,7 +409,7 @@ export default defineComponent({
const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro
url: 'https://103.147.34.20:10705/file/upload/', // test
url: 'http://103.147.34.20:10705/file/upload/', // test
method: 'POST',
data: bodyFormData,
......
......@@ -469,7 +469,7 @@ export default defineComponent({
const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro
url: 'https://103.147.34.20:10705/file/upload/', // test
url: 'http://103.147.34.20:10705/file/upload/', // test
method: 'POST',
data: bodyFormData,
......
......@@ -414,7 +414,7 @@ export default defineComponent({
const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro
url: 'https://103.147.34.20:10705/file/upload/', // test
url: 'http://103.147.34.20:10705/file/upload/', // test
method: 'POST',
data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>;
......
......@@ -285,7 +285,7 @@ export default defineComponent({
const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro
url: 'https://103.147.34.20:10705/file/upload/', // test
url: 'http://103.147.34.20:10705/file/upload/', // test
method: 'POST',
data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment