diff --git a/.env b/.env
index 1bcd6d8f..ec8f3629 100644
--- a/.env
+++ b/.env
@@ -1,3 +1,3 @@
-NEXT_PUBLIC_API=https://new.netidhub.com/api/v2
-NEXT_PUBLIC=https://new.netidhub.com
+NEXT_PUBLIC_API=https://mediahub.polri.go.id/api/v2
+NEXT_PUBLIC=https://mediahub.polri.go.id
NEXT_PUBLIC_TINYMCE_API_KEY=bhteuja26yz5p0aubxry9b95hs33amgn65kjv5km0fd5iuev
\ No newline at end of file
diff --git a/app/[locale]/(protected)/contributor/report/components/report-table.tsx b/app/[locale]/(protected)/contributor/report/components/report-table.tsx
index a103b18e..1019211e 100644
--- a/app/[locale]/(protected)/contributor/report/components/report-table.tsx
+++ b/app/[locale]/(protected)/contributor/report/components/report-table.tsx
@@ -170,7 +170,7 @@ const ReportTable = () => {
};
const handlePreview = (id: string) => {
- const url = `https://new.netidhub.com/api/v2/media/report/view?id=${id}`;
+ const url = `https://mediahub.polri.go.id/api/v2/media/report/view?id=${id}`;
setPreviewData({ url });
setOpenPreview(true);
};
diff --git a/app/[locale]/(protected)/supervisor/setting/social-media/page.tsx b/app/[locale]/(protected)/supervisor/setting/social-media/page.tsx
index af596043..56aae0ac 100644
--- a/app/[locale]/(protected)/supervisor/setting/social-media/page.tsx
+++ b/app/[locale]/(protected)/supervisor/setting/social-media/page.tsx
@@ -33,7 +33,7 @@ const responseFacebook = (response: FacebookLoginResponse) => {
const clientId =
"515231445138-5ius52rjsqucc6petfpv1d42v1lj778o.apps.googleusercontent.com";
- const feedbackUrl = "https://new.netidhub.com/admin/settings/socmed";
+ const feedbackUrl = "https://mediahub.polri.go.id/admin/settings/socmed";
async function sendFbToken(token: string) {
const res = await saveFbToken(token);
diff --git a/app/[locale]/(public)/(polda)/tbnews/[polda_name]/components/contact-us.tsx b/app/[locale]/(public)/(polda)/tbnews/[polda_name]/components/contact-us.tsx
index 69a4b659..2f1ba1e4 100644
--- a/app/[locale]/(public)/(polda)/tbnews/[polda_name]/components/contact-us.tsx
+++ b/app/[locale]/(public)/(polda)/tbnews/[polda_name]/components/contact-us.tsx
@@ -88,7 +88,7 @@ const ContactUs = () => {
Pedoman Media Siber
-
+
0) {
// formMedia.append("file", imageFiles[0]);
@@ -289,7 +289,7 @@ export function TambahIklanUpdate() {
formMedia.append("title", data.title);
formMedia.append("placements", selectedPlacement);
formMedia.append("description", data.description);
- formMedia.append("redirectLink", "https://new.netidhub.com");
+ formMedia.append("redirectLink", "https://mediahub.polri.go.id");
formMedia.append("assignedToLevel", handlePoldaPolresChange());
if (imageFiles.length > 0) {
@@ -631,7 +631,7 @@ export function TambahIklanUpdate() {
))}
setSelectedVideo(
- `https://new.netidhub.com/api/v2/assignment-expert/file/viewer?id=${file.id}`
+ `https://mediahub.polri.go.id/api/v2/assignment-expert/file/viewer?id=${file.id}`
)
}
>
diff --git a/components/landing-page/hero.tsx b/components/landing-page/hero.tsx
index 58b70a75..0a81ccf8 100644
--- a/components/landing-page/hero.tsx
+++ b/components/landing-page/hero.tsx
@@ -50,7 +50,7 @@ const HeroModal = ({ onClose }: { onClose: () => void }) => {
useEffect(() => {
async function fetchCategories() {
- const url = "https://new.netidhub.com/api/v2/csrf";
+ const url = "https://mediahub.polri.go.id/api/v2/csrf";
try {
const response = await fetch(url);
@@ -268,7 +268,7 @@ const Hero = (props: { group?: string }) => {
useEffect(() => {
async function fetchCategories() {
- const url = "https://new.netidhub.com/api/v2/csrf";
+ const url = "https://mediahub.polri.go.id/api/v2/csrf";
try {
const response = await fetch(url);
diff --git a/components/landing-page/landing-polda-kaltara/contact-us-kaltara.tsx b/components/landing-page/landing-polda-kaltara/contact-us-kaltara.tsx
index c7713ccb..49a0526d 100644
--- a/components/landing-page/landing-polda-kaltara/contact-us-kaltara.tsx
+++ b/components/landing-page/landing-polda-kaltara/contact-us-kaltara.tsx
@@ -146,7 +146,7 @@ const ContactUsKaltara = () => {
Pedoman Media Siber
-
+