fixing: change endpoint api
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
9e286ffd06
commit
8ee45c6ef4
|
|
@ -33,7 +33,7 @@ const responseFacebook = (response: FacebookLoginResponse) => {
|
||||||
|
|
||||||
const clientId =
|
const clientId =
|
||||||
"515231445138-5ius52rjsqucc6petfpv1d42v1lj778o.apps.googleusercontent.com";
|
"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) {
|
async function sendFbToken(token: string) {
|
||||||
const res = await saveFbToken(token);
|
const res = await saveFbToken(token);
|
||||||
|
|
|
||||||
|
|
@ -868,7 +868,7 @@ const DetailInfo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"fb",
|
"fb",
|
||||||
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -883,7 +883,7 @@ const DetailInfo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"tw",
|
"tw",
|
||||||
`https://twitter.com/share?url=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
`https://twitter.com/share?url=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -898,7 +898,7 @@ const DetailInfo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"wa",
|
"wa",
|
||||||
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}`
|
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -526,7 +526,7 @@ const DetailInfo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"fb",
|
"fb",
|
||||||
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -541,7 +541,7 @@ const DetailInfo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"tw",
|
"tw",
|
||||||
`https://twitter.com/share?url=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
`https://twitter.com/share?url=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -556,7 +556,7 @@ const DetailInfo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"wa",
|
"wa",
|
||||||
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}`
|
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -666,7 +666,7 @@ const DetailVideo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"fb",
|
"fb",
|
||||||
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -681,7 +681,7 @@ const DetailVideo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"tw",
|
"tw",
|
||||||
`https://twitter.com/share?url=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
`https://twitter.com/share?url=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -696,7 +696,7 @@ const DetailVideo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"wa",
|
"wa",
|
||||||
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}`
|
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -284,7 +284,7 @@ const Galery = (props: any) => {
|
||||||
|
|
||||||
const copyToClip = async (url: any) => {
|
const copyToClip = async (url: any) => {
|
||||||
await navigator.clipboard.writeText(
|
await navigator.clipboard.writeText(
|
||||||
`https://mediahub.polri.go.id/video/detail/${url}`
|
`https://new.netidhub.com/video/detail/${url}`
|
||||||
);
|
);
|
||||||
setCopySuccess("Copied");
|
setCopySuccess("Copied");
|
||||||
// toast.success("Link Berhasil Di Copy");
|
// toast.success("Link Berhasil Di Copy");
|
||||||
|
|
|
||||||
|
|
@ -291,7 +291,7 @@ const Galery = (props: any) => {
|
||||||
|
|
||||||
const copyToClip = async (url: any) => {
|
const copyToClip = async (url: any) => {
|
||||||
await navigator.clipboard.writeText(
|
await navigator.clipboard.writeText(
|
||||||
`https://mediahub.polri.go.id/video/detail/${url}`
|
`https://new.netidhub.com/video/detail/${url}`
|
||||||
);
|
);
|
||||||
setCopySuccess("Copied");
|
setCopySuccess("Copied");
|
||||||
// toast.success("Link Berhasil Di Copy");
|
// toast.success("Link Berhasil Di Copy");
|
||||||
|
|
|
||||||
|
|
@ -134,7 +134,7 @@ const page = () => {
|
||||||
|
|
||||||
const copyToClip = async (url: any) => {
|
const copyToClip = async (url: any) => {
|
||||||
await navigator.clipboard.writeText(
|
await navigator.clipboard.writeText(
|
||||||
`https://mediahub.polri.go.id/image/detail/${url}`
|
`https://new.netidhub.com/image/detail/${url}`
|
||||||
);
|
);
|
||||||
setCopySuccess("Copied");
|
setCopySuccess("Copied");
|
||||||
// toast.success("Link Berhasil Di Copy");
|
// toast.success("Link Berhasil Di Copy");
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ export async function generateMetadata({ params }: any): Promise<Metadata> {
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: video?.title,
|
title: video?.title,
|
||||||
description: video?.description,
|
description: video?.description,
|
||||||
url: `https://mediahub.polri.go.id/in/video/detail/${slug}`,
|
url: `https://new.netidhub.com/in/video/detail/${slug}`,
|
||||||
type: "video.other",
|
type: "video.other",
|
||||||
images: [
|
images: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ import AuthProvider from "@/providers/auth.provider";
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Media Hub | POLRI",
|
title: "Media Hub | POLRI",
|
||||||
description: "Media Hub Platform for POLRI",
|
description: "Media Hub Platform for POLRI",
|
||||||
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'https://mediahub.polri.go.id'),
|
metadataBase: new URL(process.env.NEXT_PUBLIC_SITE_URL || 'https://new.netidhub.com'),
|
||||||
openGraph: {
|
openGraph: {
|
||||||
title: "Media Hub | POLRI",
|
title: "Media Hub | POLRI",
|
||||||
description: "Media Hub Platform for POLRI",
|
description: "Media Hub Platform for POLRI",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { NextResponse } from "next/server";
|
||||||
|
|
||||||
export async function GET() {
|
export async function GET() {
|
||||||
try {
|
try {
|
||||||
const baseUrl = "https://mediahub.polri.go.id/in";
|
const baseUrl = "https://new.netidhub.com/in";
|
||||||
|
|
||||||
const response = await getListContent({
|
const response = await getListContent({
|
||||||
page: 1,
|
page: 1,
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ export default function DetailContentBlast() {
|
||||||
const detailData = res?.data?.data;
|
const detailData = res?.data?.data;
|
||||||
let updatedUrl = detailData.contentUrl;
|
let updatedUrl = detailData.contentUrl;
|
||||||
|
|
||||||
const domainsToUpdate = ["mediahub.polri.go.id", "netidhub.com"];
|
const domainsToUpdate = ["new.netidhub.com", "netidhub.com"];
|
||||||
|
|
||||||
domainsToUpdate.forEach((domain) => {
|
domainsToUpdate.forEach((domain) => {
|
||||||
if (
|
if (
|
||||||
|
|
|
||||||
|
|
@ -203,7 +203,7 @@ export default function ContentBlast() {
|
||||||
form.setValue("title", details.title);
|
form.setValue("title", details.title);
|
||||||
form.setValue("url", details.pageUrl);
|
form.setValue("url", details.pageUrl);
|
||||||
let pageUrl = details?.pageUrl || "";
|
let pageUrl = details?.pageUrl || "";
|
||||||
if (pageUrl.includes("mediahub.polri.go.id")) {
|
if (pageUrl.includes("new.netidhub.com")) {
|
||||||
pageUrl = pageUrl.replace(
|
pageUrl = pageUrl.replace(
|
||||||
/(\.id)(\/|$)/,
|
/(\.id)(\/|$)/,
|
||||||
(match: any, p1: any, p2: any) => {
|
(match: any, p1: any, p2: any) => {
|
||||||
|
|
@ -537,7 +537,7 @@ export default function ContentBlast() {
|
||||||
// const response = await detailMediaSummary(String(id));
|
// const response = await detailMediaSummary(String(id));
|
||||||
// const details = response?.data?.data;
|
// const details = response?.data?.data;
|
||||||
// let pageUrl = details?.pageUrl || "";
|
// let pageUrl = details?.pageUrl || "";
|
||||||
// if (pageUrl.includes("mediahub.polri.go.id")) {
|
// if (pageUrl.includes("new.netidhub.com")) {
|
||||||
// pageUrl = pageUrl.replace(
|
// pageUrl = pageUrl.replace(
|
||||||
// /(\.id)(\/|$)/,
|
// /(\.id)(\/|$)/,
|
||||||
// (match: any, p1: any, p2: any) => {
|
// (match: any, p1: any, p2: any) => {
|
||||||
|
|
@ -564,7 +564,7 @@ export default function ContentBlast() {
|
||||||
// form.setValue("title", `${details?.title}`);
|
// form.setValue("title", `${details?.title}`);
|
||||||
// form.setValue(
|
// form.setValue(
|
||||||
// "url",
|
// "url",
|
||||||
// details?.pageUrl || "https://mediahub.polri.go.id"
|
// details?.pageUrl || "https://new.netidhub.com"
|
||||||
// );
|
// );
|
||||||
// if (type == "wa") {
|
// if (type == "wa") {
|
||||||
// body = `${textEllipsis(details?.description, 150)}`;
|
// body = `${textEllipsis(details?.description, 150)}`;
|
||||||
|
|
|
||||||
|
|
@ -1302,7 +1302,7 @@ export default function FormTaskTaDetail() {
|
||||||
className="flex gap-3 items-center cursor-pointer"
|
className="flex gap-3 items-center cursor-pointer"
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
setSelectedVideo(
|
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}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -892,7 +892,7 @@ const DetailAudio = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"fb",
|
"fb",
|
||||||
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -907,7 +907,7 @@ const DetailAudio = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"tw",
|
"tw",
|
||||||
`https://twitter.com/share?url=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
`https://twitter.com/share?url=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -922,7 +922,7 @@ const DetailAudio = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"wa",
|
"wa",
|
||||||
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}`
|
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -742,7 +742,7 @@ const DetailDocument = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"fb",
|
"fb",
|
||||||
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -757,7 +757,7 @@ const DetailDocument = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"tw",
|
"tw",
|
||||||
`https://twitter.com/share?url=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
`https://twitter.com/share?url=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -772,7 +772,7 @@ const DetailDocument = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"wa",
|
"wa",
|
||||||
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}`
|
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -891,7 +891,7 @@ const DetailImage = (data: any) => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"fb",
|
"fb",
|
||||||
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -906,7 +906,7 @@ const DetailImage = (data: any) => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"tw",
|
"tw",
|
||||||
`https://twitter.com/share?url=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
`https://twitter.com/share?url=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -921,7 +921,7 @@ const DetailImage = (data: any) => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"wa",
|
"wa",
|
||||||
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}`
|
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -711,7 +711,7 @@ const DetailVideo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"fb",
|
"fb",
|
||||||
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
`https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}"e=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -726,7 +726,7 @@ const DetailVideo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"tw",
|
"tw",
|
||||||
`https://twitter.com/share?url=https%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
`https://twitter.com/share?url=https%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}&text=${content?.title}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
@ -741,7 +741,7 @@ const DetailVideo = () => {
|
||||||
onClick={() =>
|
onClick={() =>
|
||||||
handleShare(
|
handleShare(
|
||||||
"wa",
|
"wa",
|
||||||
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fmediahub.polri.go.id%2F${typeString}%2Fdetail%2F${content?.id}`
|
`text=${content?.title}%0D%0A%0D%0Ahttps%3A%2F%2Fnew.netidhub.com%2F${typeString}%2Fdetail%2F${content?.id}`
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -370,7 +370,7 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
// children: [],
|
// children: [],
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
// href: "https://nat-mediahub.polri.go.id/",
|
// href: "https://nat-new.netidhub.com/",
|
||||||
// label: "Mediahub 2022",
|
// label: "Mediahub 2022",
|
||||||
// active: pathname === "/admin/settings/mediahub-2022",
|
// active: pathname === "/admin/settings/mediahub-2022",
|
||||||
// icon: "heroicons:arrow-trending-up",
|
// icon: "heroicons:arrow-trending-up",
|
||||||
|
|
@ -3934,7 +3934,7 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
// children: [],
|
// children: [],
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
// href: "https://nat-mediahub.polri.go.id/",
|
// href: "https://nat-new.netidhub.com/",
|
||||||
// label: "Mediahub 2022",
|
// label: "Mediahub 2022",
|
||||||
// active: pathname === "/admin/settings/mediahub-2022",
|
// active: pathname === "/admin/settings/mediahub-2022",
|
||||||
// icon: "heroicons:arrow-trending-up",
|
// icon: "heroicons:arrow-trending-up",
|
||||||
|
|
@ -4157,7 +4157,7 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
children: [],
|
children: [],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
href: "https://nat-mediahub.polri.go.id/",
|
href: "https://nat-new.netidhub.com/",
|
||||||
label: "Mediahub 2022",
|
label: "Mediahub 2022",
|
||||||
active: pathname === "/admin/settings/mediahub-2022",
|
active: pathname === "/admin/settings/mediahub-2022",
|
||||||
icon: "heroicons:arrow-trending-up",
|
icon: "heroicons:arrow-trending-up",
|
||||||
|
|
@ -4366,7 +4366,7 @@ export function getMenuList(pathname: string, t: any): Group[] {
|
||||||
// children: [],
|
// children: [],
|
||||||
// },
|
// },
|
||||||
// {
|
// {
|
||||||
// href: "https://nat-mediahub.polri.go.id/",
|
// href: "https://nat-new.netidhub.com/",
|
||||||
// label: "Mediahub 2022",
|
// label: "Mediahub 2022",
|
||||||
// active: pathname === "/admin/settings/mediahub-2022",
|
// active: pathname === "/admin/settings/mediahub-2022",
|
||||||
// icon: "heroicons:arrow-trending-up",
|
// icon: "heroicons:arrow-trending-up",
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
const baseURL = "https://mediahub.polri.go.id/api/";
|
const baseURL = "https://new.netidhub.com/api/";
|
||||||
|
|
||||||
const axiosBaseProdInstance = axios.create({
|
const axiosBaseProdInstance = axios.create({
|
||||||
baseURL,
|
baseURL,
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
|
|
||||||
const baseURL = "https://mediahub.polri.go.id/api/";
|
const baseURL = "https://new.netidhub.com/api/";
|
||||||
|
|
||||||
const axiosInstanceJson = axios.create({
|
const axiosInstanceJson = axios.create({
|
||||||
baseURL,
|
baseURL,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue