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"
|
className="form-control"
|
||||||
value={state.apiUrl}
|
value={state.apiUrl}
|
||||||
onChange={(e) => setState({ ...state, apiUrl: e.target.value })}
|
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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ describe('wakatime config', () => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"apiKey": "",
|
"apiKey": "",
|
||||||
"apiUrl": "https://wakatime.com/api/v1",
|
"apiUrl": "https://api.wakatime.com/api/v1",
|
||||||
"colors": {
|
"colors": {
|
||||||
"allGood": "",
|
"allGood": "",
|
||||||
"lightTheme": "white",
|
"lightTheme": "white",
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ const config: Config = {
|
|||||||
|
|
||||||
apiKey: '',
|
apiKey: '',
|
||||||
|
|
||||||
apiUrl: process.env.API_URL ?? 'https://wakatime.com/api/v1',
|
apiUrl: process.env.API_URL ?? 'https://api.wakatime.com/api/v1',
|
||||||
|
|
||||||
colors: {
|
colors: {
|
||||||
allGood: '',
|
allGood: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user