Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
business
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bitsoko services
business
Commits
bb21fa49
Commit
bb21fa49
authored
Oct 02, 2023
by
bitsoko services
👷🏿
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update app.js
parent
6669db35
Pipeline
#1805
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
app.js
app.js
+12
-12
No files found.
app.js
View file @
bb21fa49
...
...
@@ -415,18 +415,21 @@ async function loadMainDomain(url){
var
response
=
await
entFunc
.
httpGet
(
url
);
try
{
var
parsedResp
=
JSON
.
parse
(
response
);
writeFile
(
__dirname
+
'/config/soko.conf'
,
response
,
function
(
err
)
{
if
(
err
)
console
.
log
(
'!ERR unable backup enterprise info'
,
err
);
try
{
procEntInfo
(
JSON
.
parse
(
response
),
accountObject
);
}
catch
(
er
){
procEntInfo
(
parsedResp
,
accountObject
);
});
}
catch
(
er
){
fs
.
readFile
(
__dirname
+
'/config/soko.conf'
,
function
(
error
,
source
)
{
if
(
error
){
...
...
@@ -448,10 +451,7 @@ async function loadMainDomain(url){
});
}
});
}
//})(dmnIP);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment