diff --git a/components/form/login.tsx b/components/form/login.tsx
index 366ae56..3c2e914 100644
--- a/components/form/login.tsx
+++ b/components/form/login.tsx
@@ -95,7 +95,7 @@ export default function Login() {
const resActivity = await saveActivity(
{
activityTypeId: 1,
- url: "https://kontenhumas.com/auth",
+ url: "https://new-humas.polri.go.id/auth",
userId: profile?.data?.data?.id,
},
accessData?.id_token
@@ -218,7 +218,7 @@ export default function Login() {
const resActivity = await saveActivity(
{
activityTypeId: 1,
- url: "https://kontenhumas.com/auth",
+ url: "https://new-humas.polri.go.id/auth",
userId: profile?.data?.data?.id,
},
accessData?.id_token
diff --git a/components/landing/adds-carousel.tsx b/components/landing/adds-carousel.tsx
index 3804ad5..5ceb796 100644
--- a/components/landing/adds-carousel.tsx
+++ b/components/landing/adds-carousel.tsx
@@ -133,7 +133,7 @@ export default function AddsCarousel() {
// ) : (
//
// )
=> {
try {
const response = await fetch(
- `https://kontenhumas.com/magazine-files/viewer/${fileName}`
+ `https://new-humas.polri.go.id/magazine-files/viewer/${fileName}`
);
if (!response.ok) {
diff --git a/components/main/detail/new-detail.tsx b/components/main/detail/new-detail.tsx
index bbbd922..b09d7ec 100644
--- a/components/main/detail/new-detail.tsx
+++ b/components/main/detail/new-detail.tsx
@@ -37,7 +37,7 @@ export default function NewsDetailPage(props: { datas: any }) {
const sendActivity = async () => {
let req: any = {
activityTypeId: 2,
- url: "https://kontenhumas.com" + pathname,
+ url: "https://new-humas.polri.go.id" + pathname,
articleId: Number(id?.split("-")[0]),
};
if (uid) {
diff --git a/components/page/detail-news.tsx b/components/page/detail-news.tsx
index 94ae6ab..864981c 100644
--- a/components/page/detail-news.tsx
+++ b/components/page/detail-news.tsx
@@ -42,11 +42,11 @@ export default function DetailNews(props: { data: any; listArticle: any }) {
const handleShare = async (platform: string) => {
let shareLink = "";
- const urls = "https://kontenhumas.com/" + pathname;
+ const urls = "https://new-humas.polri.go.id/" + pathname;
let req: any = {
activityTypeId: 3,
- url: "https://kontenhumas.com/" + pathname,
+ url: "https://new-humas.polri.go.id/" + pathname,
articleId: Number(id?.split("-")[0]),
};
if (uid) {
diff --git a/public/sw.js b/public/sw.js
index b276670..d803b7c 100644
--- a/public/sw.js
+++ b/public/sw.js
@@ -125,5 +125,5 @@ self.addEventListener("push", function (event) {
self.addEventListener("notificationclick", function (event) {
console.log("Notification click received.");
event.notification.close();
- event.waitUntil(clients.openWindow(""));
+ event.waitUntil(clients.openWindow(""));
});
diff --git a/service/http-config/axios-interceptor-service.ts b/service/http-config/axios-interceptor-service.ts
index fc3e37d..7428fb2 100644
--- a/service/http-config/axios-interceptor-service.ts
+++ b/service/http-config/axios-interceptor-service.ts
@@ -2,7 +2,7 @@ import axios from "axios";
import { postSignIn } from "../master-user";
import Cookies from "js-cookie";
-const baseURL = "https://kontenhumas.com/api";
+const baseURL = "https://new-humas.polri.go.id/api";
const refreshToken = Cookies.get("refresh_token");
diff --git a/service/http-config/http-base-service.ts b/service/http-config/http-base-service.ts
index 95ebf60..011fabd 100644
--- a/service/http-config/http-base-service.ts
+++ b/service/http-config/http-base-service.ts
@@ -1,6 +1,6 @@
import axios from "axios";
-const baseURL = "https://kontenhumas.com/api";
+const baseURL = "https://new-humas.polri.go.id/api";
const axiosBaseInstance = axios.create({
baseURL,
diff --git a/services/http-config/axios-interceptor-instance.ts b/services/http-config/axios-interceptor-instance.ts
index 49f3864..d34ef4a 100644
--- a/services/http-config/axios-interceptor-instance.ts
+++ b/services/http-config/axios-interceptor-instance.ts
@@ -1,6 +1,6 @@
import axios from "axios";
-const baseURL = "https://kontenhumas.com/api";
+const baseURL = "https://new-humas.polri.go.id/api";
const axiosInterceptorInstance = axios.create({
baseURL,