Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
duniter-currency-monit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
modules
duniter-currency-monit
Commits
11b0feb0
Commit
11b0feb0
authored
7 years ago
by
Éloïs
Browse files
Options
Downloads
Patches
Plain Diff
[fix] add offset param
parent
827afb46
No related branches found
No related tags found
1 merge request
!62
Dev2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/webserver.js
+2
-1
2 additions, 1 deletion
lib/webserver.js
with
2 additions
and
1 deletion
lib/webserver.js
+
2
−
1
View file @
11b0feb0
...
@@ -13,7 +13,7 @@ const bodyParser = require('body-parser');
...
@@ -13,7 +13,7 @@ const bodyParser = require('body-parser');
const
routes
=
require
(
__dirname
+
'
/../routes
'
);
const
routes
=
require
(
__dirname
+
'
/../routes
'
);
const
tpl
=
require
(
__dirname
+
'
/tplit.js
'
);
const
tpl
=
require
(
__dirname
+
'
/tplit.js
'
);
module
.
exports
=
(
host
,
port
,
appParente
,
duniterServer
,
cache
)
=>
{
module
.
exports
=
(
host
,
port
,
appParente
,
duniterServer
,
offset
,
cache
)
=>
{
var
app
=
express
();
var
app
=
express
();
...
@@ -32,6 +32,7 @@ module.exports = (host, port, appParente, duniterServer, cache) => {
...
@@ -32,6 +32,7 @@ module.exports = (host, port, appParente, duniterServer, cache) => {
app
.
locals
.
duniterServer
=
duniterServer
app
.
locals
.
duniterServer
=
duniterServer
app
.
locals
.
currencyName
=
duniterServer
.
conf
.
currency
app
.
locals
.
currencyName
=
duniterServer
.
conf
.
currency
app
.
locals
.
offset
=
offset
app
.
locals
.
cache
=
cache
app
.
locals
.
cache
=
cache
app
.
locals
.
HTML_HEAD
=
fs
.
readFileSync
(
__dirname
+
'
/../views/HEAD.html
'
,
'
utf-8
'
)
app
.
locals
.
HTML_HEAD
=
fs
.
readFileSync
(
__dirname
+
'
/../views/HEAD.html
'
,
'
utf-8
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment