mirror of
https://github.com/bitwarden/web
synced 2025-12-11 13:53:17 +00:00
self host builds
This commit is contained in:
@@ -180,6 +180,10 @@ export class WebPlatformUtilsService implements PlatformUtilsService {
|
||||
return process.env.ENV === 'development';
|
||||
}
|
||||
|
||||
isSelfHost(): boolean {
|
||||
return process.env.SELF_HOST.toString() === 'true';
|
||||
}
|
||||
|
||||
copyToClipboard(text: string, options?: any): void {
|
||||
const doc = options ? options.doc : window.document;
|
||||
if ((window as any).clipboardData && (window as any).clipboardData.setData) {
|
||||
|
||||
Reference in New Issue
Block a user