mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-17 03:31:52 +00:00
variable name changed(WEB_URL -> SERVER_URL)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import _ from 'lodash'
|
import _ from 'lodash'
|
||||||
import moment from 'moment'
|
import moment from 'moment'
|
||||||
import dataStore from 'boost/dataStore'
|
import dataStore from 'boost/dataStore'
|
||||||
import { request, WEB_URL } from 'boost/api'
|
import { request, SERVER_URL } from 'boost/api'
|
||||||
import clientKey from 'boost/clientKey'
|
import clientKey from 'boost/clientKey'
|
||||||
|
|
||||||
const electron = require('electron')
|
const electron = require('electron')
|
||||||
@@ -60,7 +60,7 @@ export function postRecords (data) {
|
|||||||
clientKey: clientKey.get(),
|
clientKey: clientKey.get(),
|
||||||
records
|
records
|
||||||
}
|
}
|
||||||
return request.post(WEB_URL + 'apis/activity')
|
return request.post(SERVER_URL + 'apis/activity')
|
||||||
.send(input)
|
.send(input)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
let records = getAllRecords()
|
let records = getAllRecords()
|
||||||
|
|||||||
Reference in New Issue
Block a user