Skip to content
Snippets Groups Projects
Commit ef44d71a authored by Jan Olaf Storeng's avatar Jan Olaf Storeng
Browse files

kommentering_2

parent c28b575c
Branches
No related tags found
No related merge requests found
......@@ -56,7 +56,11 @@ app.use(bodyParser.json());
const TWO_HOURS = 1000 * 60 * 60 * 2;
/**
* Session
*
* implementation of session
*/
app.use(session({
// name: 'session',
secret: 'secret',
......@@ -127,7 +131,7 @@ app.get('/', function(req, res){
/**
* /getUser
*
* @param uid
* @param req.params.uid
*
* @brief the function takes the id of a user as a parameter and returns sql-table of the user with the uid
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment