chore: add hostname option to extension (#177)
This commit is contained in:
committed by
GitHub
parent
ae22ab5a9d
commit
1e9e233066
@@ -44,6 +44,7 @@ describe('wakatime config', () => {
|
||||
https://www.udemy.com/
|
||||
https://www.w3schools.com/",
|
||||
"heartbeatApiUrl": "https://wakatime.com/api/v1/users/current/heartbeats",
|
||||
"hostname": "",
|
||||
"loggingEnabled": true,
|
||||
"loggingStyle": "blacklist",
|
||||
"loggingType": "domain",
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user