From 845ef9bad6b9f5ff471b62505f9e39300297a3a4 Mon Sep 17 00:00:00 2001 From: Cheng-Han, Wu Date: Fri, 4 Mar 2016 23:17:35 +0800 Subject: Support export to and import from Google Drive --- public/js/common.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public/js/common.js') diff --git a/public/js/common.js b/public/js/common.js index e84bc169..799c9581 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -2,6 +2,9 @@ var domain = 'change this'; // domain name var urlpath = ''; // sub url path, like: www.example.com/ +var GOOGLE_API_KEY = 'change this'; +var GOOGLE_CLIENT_ID = 'change this'; + var port = window.location.port; var serverurl = window.location.protocol + '//' + domain + (port ? ':' + port : '') + (urlpath ? '/' + urlpath : ''); var noteid = urlpath ? window.location.pathname.slice(urlpath.length + 1, window.location.pathname.length).split('/')[1] : window.location.pathname.split('/')[1]; -- cgit v1.2.3