update

parent 665a46f8
...@@ -3,8 +3,8 @@ export const config = { ...@@ -3,8 +3,8 @@ export const config = {
// API_ENDPOINT: 'https://cms.vab.vn/api/', // API_ENDPOINT: 'https://cms.vab.vn/api/',
// API_IMAGE_ENDPOINT: 'https://cms.vab.vn/file/upload/', // API_IMAGE_ENDPOINT: 'https://cms.vab.vn/file/upload/',
// dev // dev
API_ENDPOINT: 'https://103.147.34.20:10700/api/', API_ENDPOINT: 'http://103.147.34.20:10700/api/',
API_IMAGE_ENDPOINT: 'https://103.147.34.20:10705/file/upload/', API_IMAGE_ENDPOINT: 'http://103.147.34.20:10705/file/upload/',
API_RES_CODE: { API_RES_CODE: {
OK: { OK: {
......
...@@ -462,7 +462,7 @@ export default defineComponent({ ...@@ -462,7 +462,7 @@ export default defineComponent({
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro // 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', method: 'POST',
data: bodyFormData, data: bodyFormData,
......
...@@ -401,7 +401,7 @@ export default defineComponent({ ...@@ -401,7 +401,7 @@ export default defineComponent({
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro // 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', method: 'POST',
data: bodyFormData, data: bodyFormData,
......
...@@ -409,7 +409,7 @@ export default defineComponent({ ...@@ -409,7 +409,7 @@ export default defineComponent({
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro // 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', method: 'POST',
data: bodyFormData, data: bodyFormData,
......
...@@ -469,7 +469,7 @@ export default defineComponent({ ...@@ -469,7 +469,7 @@ export default defineComponent({
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro // 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', method: 'POST',
data: bodyFormData, data: bodyFormData,
......
...@@ -414,7 +414,7 @@ export default defineComponent({ ...@@ -414,7 +414,7 @@ export default defineComponent({
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro // 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', method: 'POST',
data: bodyFormData, data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>; })) as AxiosResponse<BaseResponseBody<FileUploadType>>;
......
...@@ -285,7 +285,7 @@ export default defineComponent({ ...@@ -285,7 +285,7 @@ export default defineComponent({
const response = (await api({ const response = (await api({
headers: { 'Content-Type': 'multipart/form-data' }, headers: { 'Content-Type': 'multipart/form-data' },
// url: 'https://cms.vab.vn/file/upload/', // pro // 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', method: 'POST',
data: bodyFormData, data: bodyFormData,
})) as AxiosResponse<BaseResponseBody<FileUploadType>>; })) 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