Send heartbeats to api servers subdomain instead of root domain
This commit is contained in:
@@ -308,9 +308,9 @@ export default function Options(): JSX.Element {
|
||||
className="form-control"
|
||||
value={state.apiUrl}
|
||||
onChange={(e) => setState({ ...state, apiUrl: e.target.value })}
|
||||
placeholder="https://wakatime.com/api/v1"
|
||||
placeholder="https://api.wakatime.com/api/v1"
|
||||
/>
|
||||
<span className="help-block">https://wakatime.com/api/v1</span>
|
||||
<span className="help-block">https://api.wakatime.com/api/v1</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ describe('wakatime config', () => {
|
||||
},
|
||||
},
|
||||
"apiKey": "",
|
||||
"apiUrl": "https://wakatime.com/api/v1",
|
||||
"apiUrl": "https://api.wakatime.com/api/v1",
|
||||
"colors": {
|
||||
"allGood": "",
|
||||
"lightTheme": "white",
|
||||
|
||||
@@ -120,7 +120,7 @@ const config: Config = {
|
||||
|
||||
apiKey: '',
|
||||
|
||||
apiUrl: process.env.API_URL ?? 'https://wakatime.com/api/v1',
|
||||
apiUrl: process.env.API_URL ?? 'https://api.wakatime.com/api/v1',
|
||||
|
||||
colors: {
|
||||
allGood: '',
|
||||
|
||||
Reference in New Issue
Block a user