@@ -44,7 +44,10 @@
answer1: '',
answer2: ''
},
- questions: '',
+ questions: [
+ {question: ''},
+ {question: ''}
+ ],
token: ''
}
@@ -1,6 +1,6 @@
const path = require('path')
const isProdMode = Object.is(process.env.NODE_ENV, 'production')
-const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://sso.ubtob.com/' : 'http://192.168.253.6:23232/')
+const baseUrl = process.env.BASE_URL || (isProdMode ? 'https://sso.usoftchina.com/' : 'http://192.168.253.6:23232/')
module.exports = {
router: {
@@ -73,7 +73,7 @@ else {
function listen() {
// Listen the server
app.listen(port, '0.0.0.0')
- console.log('Server listening on `localhost:' + port + '`.')
+ console.log('Server listening on ' + host + ':' + port)
// app.listen(port)