mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
Updated handling of env vars.
This commit is contained in:
parent
abd0913e9b
commit
30c1933718
8 changed files with 192 additions and 155 deletions
|
|
@ -5,6 +5,10 @@ import Page from 'components/layout/Page';
|
|||
import styles from './layout.module.css';
|
||||
|
||||
export default function ({ children }) {
|
||||
if (process.env.DISABLE_UI) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<App>
|
||||
<main className={styles.layout}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue