fix: merge main
This commit is contained in:
commit
2a7ec6acb0
|
|
@ -29,7 +29,5 @@ auto-deploy:
|
||||||
- main
|
- main
|
||||||
- dev-landing-v2
|
- dev-landing-v2
|
||||||
image: curlimages/curl:latest
|
image: curlimages/curl:latest
|
||||||
services:
|
|
||||||
- docker:dind
|
|
||||||
script:
|
script:
|
||||||
- curl --user admin:$JENKINS_PWD http://38.47.185.86:8080/job/auto-deploy-new-mediahub-fe/build?token=autodeploynewmediahub
|
- curl --user admin:$JENKINS_PWD http://38.47.185.86:8080/job/auto-deploy-new-mediahub-fe/build?token=autodeploynewmediahub
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,7 @@ const useTableColumns = ({
|
||||||
// try {
|
// try {
|
||||||
// loading();
|
// loading();
|
||||||
// const response = await axios.get(
|
// const response = await axios.get(
|
||||||
// `https://netidhub.com/api/media/report/download?id=${id}`,
|
// `https://new.netidhub.com/api/media/report/download?id=${id}`,
|
||||||
// {
|
// {
|
||||||
// responseType: "blob",
|
// responseType: "blob",
|
||||||
// }
|
// }
|
||||||
|
|
|
||||||
|
|
@ -296,7 +296,10 @@ export function TambahIklanUpdate() {
|
||||||
formMedia.append("file", imageFiles[0]);
|
formMedia.append("file", imageFiles[0]);
|
||||||
} else if (detail?.id) {
|
} else if (detail?.id) {
|
||||||
const existingFile = await fetchExistingImageAsFile(
|
const existingFile = await fetchExistingImageAsFile(
|
||||||
`https://netidhub.com/api/advertisements/viewer/${detail.id}`,
|
// `https://new.netidhub.com/api/advertisements/viewer/${detail.id}`,
|
||||||
|
`https://mediahub.polri.go.id/api/advertisements/viewer/${detail.id}`,
|
||||||
|
|
||||||
|
|
||||||
"existing-image.jpg"
|
"existing-image.jpg"
|
||||||
);
|
);
|
||||||
formMedia.append("file", existingFile);
|
formMedia.append("file", existingFile);
|
||||||
|
|
@ -631,7 +634,11 @@ export function TambahIklanUpdate() {
|
||||||
))}
|
))}
|
||||||
|
|
||||||
<Image
|
<Image
|
||||||
|
<<<<<<< HEAD
|
||||||
src={`https://mediahub.polri.go.id/api/v2/advertisements/viewer/${id}`}
|
src={`https://mediahub.polri.go.id/api/v2/advertisements/viewer/${id}`}
|
||||||
|
=======
|
||||||
|
src={`https://new.netidhub.com/api/advertisements/viewer/${id}`}
|
||||||
|
>>>>>>> 1a0d53bb11c159ffc7aebaa09bb0c98d0d982815
|
||||||
alt="Thumbnail Gambar Utama"
|
alt="Thumbnail Gambar Utama"
|
||||||
className=" rounded-md my-3"
|
className=" rounded-md my-3"
|
||||||
width={300}
|
width={300}
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ type HeroModalProps = {
|
||||||
|
|
||||||
// useEffect(() => {
|
// useEffect(() => {
|
||||||
// async function fetchCategories() {
|
// async function fetchCategories() {
|
||||||
// const url = "https://netidhub.com/api/csrf";
|
// const url = "https://new.netidhub.com/api/csrf";
|
||||||
|
|
||||||
// try {
|
// try {
|
||||||
// const response = await fetch(url);
|
// const response = await fetch(url);
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue