dns url redirect

This commit is contained in:
2022-02-25 08:51:30 +00:00
parent 4d2e74514e
commit a78c8f92a8
2 changed files with 2 additions and 3 deletions
-2
View File
@@ -13,8 +13,6 @@ const Breadcrumbs = (props) => {
let { t } = useTranslation();
console.log("asdadad", slug);
function Breadcrumb() {
if (slug) {
var coursePageURL = appealType + "/" + slug;
+2 -1
View File
@@ -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,
},
};