Skip to content

Commit 4c94503

Browse files
committed
variable name changed(WEB_URL -> SERVER_URL)
1 parent 48f5737 commit 4c94503

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/activityRecord.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import _ from 'lodash'
22
import moment from 'moment'
33
import dataStore from 'boost/dataStore'
4-
import { request, WEB_URL } from 'boost/api'
4+
import { request, SERVER_URL } from 'boost/api'
55
import clientKey from 'boost/clientKey'
66

77
const electron = require('electron')
@@ -60,7 +60,7 @@ export function postRecords (data) {
6060
clientKey: clientKey.get(),
6161
records
6262
}
63-
return request.post(WEB_URL + 'apis/activity')
63+
return request.post(SERVER_URL + 'apis/activity')
6464
.send(input)
6565
.then(res => {
6666
let records = getAllRecords()

0 commit comments

Comments
 (0)