dns url redirect
This commit is contained in:
@@ -13,8 +13,6 @@ const Breadcrumbs = (props) => {
|
|||||||
|
|
||||||
let { t } = useTranslation();
|
let { t } = useTranslation();
|
||||||
|
|
||||||
console.log("asdadad", slug);
|
|
||||||
|
|
||||||
function Breadcrumb() {
|
function Breadcrumb() {
|
||||||
if (slug) {
|
if (slug) {
|
||||||
var coursePageURL = appealType + "/" + slug;
|
var coursePageURL = appealType + "/" + slug;
|
||||||
|
|||||||
@@ -127,7 +127,8 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
|||||||
if (searchResultsObj["@odata.count"] > 1) {
|
if (searchResultsObj["@odata.count"] > 1) {
|
||||||
return {
|
return {
|
||||||
redirect: {
|
redirect: {
|
||||||
destination: "/dns-not-found",
|
//destination: "/dns-not-found",
|
||||||
|
destination: "/404",
|
||||||
permanent: false,
|
permanent: false,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user