1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

variable name changed(WEB_URL -> SERVER_URL)

This commit is contained in:
Dick Choi
2015-12-16 09:18:03 +09:00
parent 48f57376d3
commit 4c94503f9a

View File

@@ -1,7 +1,7 @@
import _ from 'lodash'
import moment from 'moment'
import dataStore from 'boost/dataStore'
import { request, WEB_URL } from 'boost/api'
import { request, SERVER_URL } from 'boost/api'
import clientKey from 'boost/clientKey'
const electron = require('electron')
@@ -60,7 +60,7 @@ export function postRecords (data) {
clientKey: clientKey.get(),
records
}
return request.post(WEB_URL + 'apis/activity')
return request.post(SERVER_URL + 'apis/activity')
.send(input)
.then(res => {
let records = getAllRecords()