Browse Source

部署测试

maguohua 8 years ago
parent
commit
b69197e0e2
2 changed files with 3 additions and 3 deletions
  1. 2 2
      config/default.js
  2. 1 1
      config/production.js

+ 2 - 2
config/default.js

@@ -1,8 +1,8 @@
 'use strict';
 
-export default {
+module.exports = {
 	port: 3000,
-	url: 'mongodb://localhost:27017/elm',
+	url: 'mongodb://139.224.234.213:27017/elm',
 	session: {
 		name: 'elm',
 		secret: 'elm',

+ 1 - 1
config/production.js

@@ -1,6 +1,6 @@
 'use strict';
 
-export default {
+module.exports = {
 	port: 80,
 	url: 'mongodb://localhost:27017/elm'
 }