File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ import { ButtonModule } from "primeng/button";
2121} )
2222export class SettingsDialogComponent implements OnInit {
2323 visible = false ;
24- blogURL : string = "hashnode.anguhashblog.com " ;
24+ blogURL : string = "hashblog-withangular. hashnode.dev " ;
2525 newBlogInput : string = "" ;
2626 newBlogURL : string = "" ;
2727 blogURLChanged : boolean = false ;
@@ -32,7 +32,7 @@ export class SettingsDialogComponent implements OnInit {
3232
3333 ngOnInit ( ) {
3434 this . blogURL = this . blogService . getBlogURL ( ) ;
35- this . blogURLChanged = this . blogURL !== "hashnode.anguhashblog.com " ;
35+ this . blogURLChanged = this . blogURL !== "hashblog-withangular. hashnode.dev " ;
3636 }
3737
3838 changeBlogURL ( ) : void {
@@ -56,7 +56,7 @@ export class SettingsDialogComponent implements OnInit {
5656 }
5757
5858 // Check if it's the default URL case
59- if ( this . newBlogURL === "hashnode.anguhashblog.com " ) {
59+ if ( this . newBlogURL === "hashblog-withangular. hashnode.dev " ) {
6060 this . blogURLChanged = false ;
6161 return ;
6262 }
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { isPlatformBrowser } from "@angular/common";
1818 providedIn : "root" ,
1919} )
2020export class BlogService {
21- blogURL : string = "hashnode.anguhashblog.com " ;
21+ blogURL : string = "hashblog-withangular. hashnode.dev " ;
2222 private readonly localStorageKey = "userBlogURL" ;
2323
2424 constructor (
@@ -30,10 +30,10 @@ export class BlogService {
3030 if ( isPlatformBrowser ( this . platformId ) ) {
3131 return (
3232 localStorage . getItem ( this . localStorageKey ) ??
33- "hashnode.anguhashblog.com "
33+ "hashblog-withangular. hashnode.dev "
3434 ) ;
3535 }
36- return "hashnode.anguhashblog.com " ;
36+ return "hashblog-withangular. hashnode.dev " ;
3737 }
3838
3939 setBlogURL ( newBlogURL : string ) : void {
@@ -45,7 +45,7 @@ export class BlogService {
4545
4646 resetBlogURL ( ) : void {
4747 localStorage . removeItem ( this . localStorageKey ) ;
48- this . blogURL = "hashnode.anguhashblog.com " ;
48+ this . blogURL = "hashblog-withangular. hashnode.dev " ;
4949 }
5050
5151 getBlogInfo ( host : string ) : Observable < BlogInfo > {
You can’t perform that action at this time.
0 commit comments