Remove uneccesasry serverurl exporting

This commit is contained in:
Yukai Huang 2016-10-13 19:15:51 +08:00
parent 47b113d9fe
commit 2f05e445cc

View file

@ -93,29 +93,28 @@ function checkIfAuth(yesCallback, noCallback) {
} }
module.exports = { module.exports = {
domain: domain, domain: domain,
urlpath: urlpath, urlpath: urlpath,
debug: debug, debug: debug,
GOOGLE_API_KEY: GOOGLE_API_KEY, GOOGLE_API_KEY: GOOGLE_API_KEY,
GOOGLE_CLIENT_ID: GOOGLE_CLIENT_ID, GOOGLE_CLIENT_ID: GOOGLE_CLIENT_ID,
DROPBOX_APP_KEY: DROPBOX_APP_KEY, DROPBOX_APP_KEY: DROPBOX_APP_KEY,
port: port, port: port,
serverurl: serverurl, noteid: noteid,
noteid: noteid, noteurl: noteurl,
noteurl: noteurl, version: version,
version: version, checkAuth: checkAuth,
checkAuth: checkAuth, profile: profile,
profile: profile, lastLoginState: lastLoginState,
lastLoginState: lastLoginState, lastUserId: lastUserId,
lastUserId: lastUserId, loginStateChangeEvent: loginStateChangeEvent,
loginStateChangeEvent: loginStateChangeEvent,
/* export functions */ /* export functions */
resetCheckAuth: resetCheckAuth, resetCheckAuth: resetCheckAuth,
setLoginState: setLoginState, setLoginState: setLoginState,
checkLoginStateChanged: checkLoginStateChanged, checkLoginStateChanged: checkLoginStateChanged,
getLoginState: getLoginState, getLoginState: getLoginState,
getUserId: getUserId, getUserId: getUserId,
clearLoginState: clearLoginState, clearLoginState: clearLoginState,
checkIfAuth: checkIfAuth checkIfAuth: checkIfAuth
}; };