summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFahim2016-01-27 19:57:44 +0530
committerFahim2016-01-27 19:57:44 +0530
commitd2832947d2aeaadaf74256c72accdb5200bb15c4 (patch)
treefc587a39dbda201f3e853a5c34cf90a03ea2e0c6 /config
parent16af7c0f9d5040fdeaf36c8b7d47e62ff4e8d980 (diff)
downloadeSimWebApp-d2832947d2aeaadaf74256c72accdb5200bb15c4.tar.gz
eSimWebApp-d2832947d2aeaadaf74256c72accdb5200bb15c4.tar.bz2
eSimWebApp-d2832947d2aeaadaf74256c72accdb5200bb15c4.zip
Added config and routes to project
Diffstat (limited to 'config')
-rw-r--r--config/config.js1
-rw-r--r--config/development.json4
-rw-r--r--config/production.json4
3 files changed, 9 insertions, 0 deletions
diff --git a/config/config.js b/config/config.js
new file mode 100644
index 0000000..c25d1a6
--- /dev/null
+++ b/config/config.js
@@ -0,0 +1 @@
+module.exports = require('./'+(process.env.NODE_ENV || 'development')+'.json');
diff --git a/config/development.json b/config/development.json
new file mode 100644
index 0000000..81b3d4d
--- /dev/null
+++ b/config/development.json
@@ -0,0 +1,4 @@
+{
+ "host":"http://localhost:3000"
+
+}
diff --git a/config/production.json b/config/production.json
new file mode 100644
index 0000000..81b3d4d
--- /dev/null
+++ b/config/production.json
@@ -0,0 +1,4 @@
+{
+ "host":"http://localhost:3000"
+
+}