mirror of
https://github.com/docmost/docmost.git
synced 2026-05-17 06:44:05 +08:00
add env variable (#513)
This commit is contained in:
@@ -122,6 +122,10 @@ export class EnvironmentService {
|
||||
return this.configService.get<string>('POSTMARK_TOKEN');
|
||||
}
|
||||
|
||||
getDrawioUrl(): string {
|
||||
return this.configService.get<string>('DRAWIO_URL');
|
||||
}
|
||||
|
||||
isCloud(): boolean {
|
||||
const cloudConfig = this.configService
|
||||
.get<string>('CLOUD', 'false')
|
||||
|
||||
Reference in New Issue
Block a user