1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

行動データ, contact form, default articleに英語文追加, Intro fix

This commit is contained in:
Rokt33r
2015-11-09 15:07:17 +09:00
parent 8428588a4c
commit 746df9277c
12 changed files with 356 additions and 11 deletions

View File

@@ -1,9 +1,12 @@
import superagent from 'superagent'
import superagentPromise from 'superagent-promise'
import { API_URL } from '../config'
import auth from 'boost/auth'
const request = superagentPromise(superagent, Promise)
export const API_URL = 'http://boost-api4.elasticbeanstalk.com/'
// export const WEB_URL = 'http://b00st.io/'
export const WEB_URL = 'http://localhost:3333/'
export const request = superagentPromise(superagent, Promise)
export function login (input) {
return request
@@ -163,6 +166,9 @@ export function sendEmail (input) {
}
export default {
API_URL,
WEB_URL,
request,
login,
signup,
updateUserInfo,