mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
New schema for pixels and links.
This commit is contained in:
parent
c60e8b3d23
commit
88639dfe83
67 changed files with 993 additions and 208 deletions
|
|
@ -1,11 +1,13 @@
|
|||
'use server';
|
||||
|
||||
export type Config = {
|
||||
faviconUrl: string | undefined;
|
||||
faviconUrl?: string;
|
||||
privateMode: boolean;
|
||||
telemetryDisabled: boolean;
|
||||
trackerScriptName: string | undefined;
|
||||
trackerScriptName?: string;
|
||||
updatesDisabled: boolean;
|
||||
linkDomain?: string;
|
||||
pixelDomain?: string;
|
||||
};
|
||||
|
||||
export async function getConfig(): Promise<Config> {
|
||||
|
|
@ -15,6 +17,7 @@ export async function getConfig(): Promise<Config> {
|
|||
telemetryDisabled: !!process.env.DISABLE_TELEMETRY,
|
||||
trackerScriptName: process.env.TRACKER_SCRIPT_NAME,
|
||||
updatesDisabled: !!process.env.DISABLE_UPDATES,
|
||||
loginDisabled: !!process.env.DISABLE_LOGIN,
|
||||
linkDomain: process.env.LINK_DOMAIN,
|
||||
pixelDomain: process.env.PIXEL_DOMAIN,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue