mirror of
https://github.com/outline/outline.git
synced 2026-06-20 14:55:00 +03:00
1b972070d7
* fix: Enforce single team when self hosting * test: positive case * refactor * fix: Visible error message on login screen for max teams scenario * Update Notices.js * lint
8 lines
247 B
JavaScript
8 lines
247 B
JavaScript
// @flow
|
|
|
|
export function getAllowedDomains(): string[] {
|
|
// GOOGLE_ALLOWED_DOMAINS included here for backwards compatability
|
|
const env = process.env.ALLOWED_DOMAINS || process.env.GOOGLE_ALLOWED_DOMAINS;
|
|
return env ? env.split(",") : [];
|
|
}
|