mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 11:17:08 +00:00
Add comments
This commit is contained in:
@@ -64,7 +64,10 @@ const allMeta = (key, value) => {
|
||||
return { all: [ meta(key, value) ] };
|
||||
};
|
||||
|
||||
// These routes do not require authentication
|
||||
//
|
||||
// NOTICE These routes do not require authentication
|
||||
//
|
||||
|
||||
app.map({
|
||||
'*': { all: [ meta() ] }, // Create the req.meta object
|
||||
'/login': {
|
||||
@@ -82,6 +85,9 @@ app.map({
|
||||
}
|
||||
});
|
||||
|
||||
//
|
||||
// WARNING Every route from here onwards requires authentication!
|
||||
//
|
||||
app.use(mw.auth.authentify);
|
||||
|
||||
// Don't process the request if the data hasn't changed
|
||||
|
||||
Reference in New Issue
Block a user