We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48f5737 commit 4c94503Copy full SHA for 4c94503
1 file changed
lib/activityRecord.js
@@ -1,7 +1,7 @@
1
import _ from 'lodash'
2
import moment from 'moment'
3
import dataStore from 'boost/dataStore'
4
-import { request, WEB_URL } from 'boost/api'
+import { request, SERVER_URL } from 'boost/api'
5
import clientKey from 'boost/clientKey'
6
7
const electron = require('electron')
@@ -60,7 +60,7 @@ export function postRecords (data) {
60
clientKey: clientKey.get(),
61
records
62
}
63
- return request.post(WEB_URL + 'apis/activity')
+ return request.post(SERVER_URL + 'apis/activity')
64
.send(input)
65
.then(res => {
66
let records = getAllRecords()
0 commit comments