diff --git a/.env b/.env
index ec8f3629..1bcd6d8f 100644
--- a/.env
+++ b/.env
@@ -1,3 +1,3 @@
-NEXT_PUBLIC_API=https://mediahub.polri.go.id/api/v2
-NEXT_PUBLIC=https://mediahub.polri.go.id
+NEXT_PUBLIC_API=https://new.netidhub.com/api/v2
+NEXT_PUBLIC=https://new.netidhub.com
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 1019211e..a103b18e 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://mediahub.polri.go.id/api/v2/media/report/view?id=${id}`;
+ const url = `https://new.netidhub.com/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 56aae0ac..af596043 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://mediahub.polri.go.id/admin/settings/socmed";
+ const feedbackUrl = "https://new.netidhub.com/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 2f1ba1e4..69a4b659 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) {
@@ -631,7 +631,7 @@ export function TambahIklanUpdate() {
))}
setSelectedVideo(
- `https://mediahub.polri.go.id/api/v2/assignment-expert/file/viewer?id=${file.id}`
+ `https://new.netidhub.com/api/v2/assignment-expert/file/viewer?id=${file.id}`
)
}
>
diff --git a/components/landing-page/hero.tsx b/components/landing-page/hero.tsx
index 0a81ccf8..58b70a75 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://mediahub.polri.go.id/api/v2/csrf";
+ const url = "https://new.netidhub.com/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://mediahub.polri.go.id/api/v2/csrf";
+ const url = "https://new.netidhub.com/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 49a0526d..c7713ccb 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
-
+