summaryrefslogtreecommitdiff
path: root/public/js/config.js.example
diff options
context:
space:
mode:
authorMax Wu2016-10-13 12:41:57 +0800
committerGitHub2016-10-13 12:41:57 +0800
commitaf461ac2d6171b6133701ce0817d14f18b4fd4b1 (patch)
tree58ae2135c69dacdac283538b6b5e54c8c816bd9f /public/js/config.js.example
parent53f88d82d1ea414dc95e8f6181c3cc6638573665 (diff)
parent773c0ce39e2da7ea155949b5a6dae986a747e89a (diff)
Merge pull request #195 from Yukaii/webpack-frontend
Use Webpack to bundle frontend code
Diffstat (limited to '')
-rw-r--r--public/js/config.js.example17
1 files changed, 9 insertions, 8 deletions
diff --git a/public/js/config.js.example b/public/js/config.js.example
index 197d18f2..c5de388f 100644
--- a/public/js/config.js.example
+++ b/public/js/config.js.example
@@ -1,10 +1,11 @@
-//config
-var domain = ''; // domain name
-var urlpath = ''; // sub url path, like: www.example.com/<urlpath>
-//settings
-var debug = false;
+module.exports = {
+ domain: '', // domain name
+ urlpath: '', // sub url path, like: www.example.com/<urlpath>
-var GOOGLE_API_KEY = '';
-var GOOGLE_CLIENT_ID = '';
+ // settings
+ debug: false,
-var DROPBOX_APP_KEY = ''; \ No newline at end of file
+ GOOGLE_API_KEY: '',
+ GOOGLE_CLIENT_ID: '',
+ DROPBOX_APP_KEY: ''
+};