chore: add deprecation notice on dot org site
This commit is contained in:
@@ -35,6 +35,10 @@ export class RouteService
|
||||
return new RouteParser(window.location.href)
|
||||
}
|
||||
|
||||
get isDotOrg(): boolean {
|
||||
return window.location.host === 'app.standardnotes.org'
|
||||
}
|
||||
|
||||
removeQueryParameterFromURL(param: RootQueryParam): void {
|
||||
const urlSearchParams = new URLSearchParams(window.location.search)
|
||||
urlSearchParams.delete(param)
|
||||
|
||||
@@ -5,4 +5,5 @@ export interface RouteServiceInterface {
|
||||
deinit(): void
|
||||
getRoute(): RouteParserInterface
|
||||
removeQueryParameterFromURL(param: RootQueryParam): void
|
||||
get isDotOrg(): boolean
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user