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