Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saltstack-api
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chalermpong
saltstack-api
Commits
f636cc0f
Commit
f636cc0f
authored
Sep 04, 2024
by
chalermpong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename File
parent
4577cca1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
app.js
+2
-2
models/getSaltInstance.js
+0
-0
models/index.js
+0
-0
No files found.
app.js
View file @
f636cc0f
...
@@ -2,10 +2,10 @@ const express = require('express');
...
@@ -2,10 +2,10 @@ const express = require('express');
const
bodyParser
=
require
(
'body-parser'
);
const
bodyParser
=
require
(
'body-parser'
);
const
{
Salt
}
=
require
(
'salt-api'
);
const
{
Salt
}
=
require
(
'salt-api'
);
const
controllers
=
require
(
'./controller'
);
const
controllers
=
require
(
'./controller'
);
const
routes
=
require
(
'./route
s'
)
const
models
=
require
(
'./model
s'
)
const
salt
=
route
s
.
getSaltInstance
()
const
salt
=
model
s
.
getSaltInstance
()
const
app
=
express
();
const
app
=
express
();
app
.
use
(
bodyParser
.
json
());
app
.
use
(
bodyParser
.
json
());
...
...
route
s/getSaltInstance.js
→
model
s/getSaltInstance.js
View file @
f636cc0f
File moved
route
s/index.js
→
model
s/index.js
View file @
f636cc0f
File moved
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