Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
publics
service-sdk-releases
Commits
f225f785
Commit
f225f785
authored
Oct 20, 2016
by
Evgeniy Zaitsev
Browse files
v0.0.19
parent
c91fc26c
Changes
3
Hide whitespace changes
Inline
Side-by-side
middlewares/checkSessionToken.js
View file @
f225f785
'
use strict
'
;
const
urlJoin
=
require
(
'
url-join
'
);
function
*
checkSessionToken
(
next
)
{
const
sessionToken
=
this
.
checkQuery
(
'
lvis_at
'
).
notEmpty
().
value
;
...
...
package.json
View file @
f225f785
{
"name"
:
"service-sdk"
,
"version"
:
"0.0.1
8
"
,
"version"
:
"0.0.1
9
"
,
"private"
:
true
,
"description"
:
"Service SDK for LViS"
,
"keywords"
:
[],
...
...
router/tab.js
View file @
f225f785
'
use strict
'
;
const
urlJoin
=
require
(
'
url-join
'
);
const
fetch
=
require
(
'
node-fetch
'
);
function
*
getProject
()
{
...
...
Write
Preview
Supports
Markdown
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