Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Peter Lundin
cmdb
Commits
61cd3191
Commit
61cd3191
authored
Dec 20, 2017
by
a001188
Browse files
Some functions work
parent
40d82e3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
app.js
View file @
61cd3191
...
...
@@ -14,7 +14,7 @@ var organisation = require('./routes/organisation');
var
structure
=
require
(
'
./routes/structure
'
);
var
users
=
require
(
'
./routes/users
'
);
var
app
=
express
();
const
winston
=
require
(
'
winston
'
)
const
winston
=
require
(
'
winston
'
)
;
// view engine setup
app
.
set
(
'
views
'
,
path
.
join
(
__dirname
,
'
views
'
));
app
.
set
(
'
view engine
'
,
'
pug
'
);
...
...
routes/index.js
View file @
61cd3191
var
express
=
require
(
'
express
'
);
var
router
=
express
.
Router
();
const
winston
=
require
(
'
winston
'
);
const
rootpath
=
'
/cmdb/api/v1
'
;
const
pg
=
require
(
'
pg
'
);
...
...
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