From ab578f768f510794db8b49e95b314c14833baf1e Mon Sep 17 00:00:00 2001 From: sota1235 Date: Thu, 5 Jan 2017 00:06:03 +0900 Subject: [PATCH] refactor: remove unused file --- browser/lib/api.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 browser/lib/api.js diff --git a/browser/lib/api.js b/browser/lib/api.js deleted file mode 100644 index fe27ae3e..00000000 --- a/browser/lib/api.js +++ /dev/null @@ -1,21 +0,0 @@ -import superagent from 'superagent' -import superagentPromise from 'superagent-promise' - -export const SERVER_URL = 'https://b00st.io/' -// export const SERVER_URL = 'http://localhost:3333/' - -export const request = superagentPromise(superagent, Promise) - -export function shareViaPublicURL (input) { - return request - .post(SERVER_URL + 'apis/share') - // .set({ - // Authorization: 'Bearer ' + auth.token() - // }) - .send(input) -} - -export default { - SERVER_URL, - shareViaPublicURL -}