convert soft 404s to hard 404s in unfurler ssr
This commit is contained in:
@@ -54,6 +54,7 @@ export class ChannelPreviewComponent implements OnInit {
|
||||
}),
|
||||
catchError((err) => {
|
||||
this.error = err;
|
||||
this.seoService.logSoft404();
|
||||
this.openGraphService.fail('channel-map-' + this.shortId);
|
||||
this.openGraphService.fail('channel-data-' + this.shortId);
|
||||
return of(null);
|
||||
|
||||
@@ -38,6 +38,7 @@ export class ChannelComponent implements OnInit {
|
||||
}),
|
||||
catchError((err) => {
|
||||
this.error = err;
|
||||
this.seoService.logSoft404();
|
||||
return [{
|
||||
short_id: params.get('short_id')
|
||||
}];
|
||||
|
||||
Reference in New Issue
Block a user