Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / docs-shared / lib / Bridge / BridgeOriginProvider.ts
blob994d5d226b5900e5152ebd09c04724285ba2e9d4
1 import { APPS } from '@proton/shared/lib/constants'
2 import { getAppHref } from '@proton/shared/lib/apps/helper'
4 export class BridgeOriginProvider {
5   static GetClientOrigin(): string {
6     return getAppHref('/', APPS.PROTONDOCS)
7   }
9   static GetEditorOrigin(): string {
10     return getAppHref('/', APPS.PROTONDOCSEDITOR)
11   }