Skip to content

Commit

Permalink
404 index
Browse files Browse the repository at this point in the history
  • Loading branch information
leomendoza123 committed Jan 30, 2025
1 parent f6cd4c3 commit 1426c0d
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
import { Component } from '@angular/core'
import { Component, OnDestroy, OnInit } from '@angular/core'
import { RobotsMetaTagsService } from 'src/app/core/robots-meta-tags/robots-meta-tags.service'

@Component({
selector: 'app-page-not-found',
templateUrl: './page-not-found.component.html',
styleUrls: ['./page-not-found.component.scss'],
})
export class PageNotFoundComponent {}
export class PageNotFoundComponent implements OnInit, OnDestroy {
constructor(private _robotsMetaTags: RobotsMetaTagsService) {}
ngOnDestroy(): void {
this._robotsMetaTags.restoreEnvironmentRobotsConfig()
}
ngOnInit(): void {
this._robotsMetaTags.disallowRobots()
}
}

0 comments on commit 1426c0d

Please sign in to comment.