Update to move dropbox app key setting to common.js and will auto load client-side related scripts

This commit is contained in:
Cheng-Han, Wu 2016-05-15 10:54:24 +08:00
parent a816420302
commit a70ebf7762
7 changed files with 39 additions and 43 deletions

View file

@ -4,8 +4,10 @@ var urlpath = ''; // sub url path, like: www.example.com/<urlpath>
//settings
var debug = false;
var GOOGLE_API_KEY = 'change this';
var GOOGLE_CLIENT_ID = 'change this';
var GOOGLE_API_KEY = '';
var GOOGLE_CLIENT_ID = '';
var DROPBOX_APP_KEY = '';
var port = window.location.port;
var serverurl = window.location.protocol + '//' + (domain ? domain : window.location.hostname) + (port ? ':' + port : '') + (urlpath ? '/' + urlpath : '');