chore: add hostname option to extension (#177)

This commit is contained in:
Juan Sebastian velez Posada
2023-03-15 14:14:21 -05:00
committed by GitHub
parent ae22ab5a9d
commit 1e9e233066
7 changed files with 55 additions and 8 deletions

View File

@@ -70,6 +70,8 @@ export interface Config {
* Url to which to send the heartbeat
*/
heartbeatApiUrl: string;
hostname: string;
/**
* Is logging enabled
*/
@@ -134,6 +136,8 @@ const config: Config = {
heartbeatApiUrl:
process.env.HEART_BEAT_API_URL ?? 'https://wakatime.com/api/v1/users/current/heartbeats',
hostname: '',
loggingEnabled: true,
loggingStyle: 'blacklist',