mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 22:57:12 +01:00
Convert /api/users.
This commit is contained in:
parent
090abcff81
commit
baa3851fb4
61 changed files with 1064 additions and 70 deletions
10
src/app/actions/getConfig.ts
Normal file
10
src/app/actions/getConfig.ts
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'use server';
|
||||
|
||||
export async function getConfig() {
|
||||
return {
|
||||
telemetryDisabled: !!process.env.DISABLE_TELEMETRY,
|
||||
trackerScriptName: process.env.TRACKER_SCRIPT_NAME,
|
||||
uiDisabled: !!process.env.DISABLE_UI,
|
||||
updatesDisabled: !!process.env.DISABLE_UPDATES,
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue