mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
Pixel/links development. New validations folder. More refactoring.
This commit is contained in:
parent
88639dfe83
commit
247e14646b
136 changed files with 1395 additions and 516 deletions
|
|
@ -6,8 +6,8 @@ export type Config = {
|
|||
telemetryDisabled: boolean;
|
||||
trackerScriptName?: string;
|
||||
updatesDisabled: boolean;
|
||||
linkDomain?: string;
|
||||
pixelDomain?: string;
|
||||
linksUrl?: string;
|
||||
pixelsUrl?: string;
|
||||
};
|
||||
|
||||
export async function getConfig(): Promise<Config> {
|
||||
|
|
@ -17,7 +17,7 @@ export async function getConfig(): Promise<Config> {
|
|||
telemetryDisabled: !!process.env.DISABLE_TELEMETRY,
|
||||
trackerScriptName: process.env.TRACKER_SCRIPT_NAME,
|
||||
updatesDisabled: !!process.env.DISABLE_UPDATES,
|
||||
linkDomain: process.env.LINK_DOMAIN,
|
||||
pixelDomain: process.env.PIXEL_DOMAIN,
|
||||
linksUrl: process.env.LINKS_URL,
|
||||
pixelsUrl: process.env.PIXELS_URL,
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue