sumba 1.1.21 → 1.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,14 +1,6 @@
1
1
  export function pathsToCheck (req, withHome) {
2
2
  const { uniq, without } = this.lib._
3
- const checks = uniq(without([req.routeOptions.url, req.url], undefined, null))
4
- /*
5
- if (withHome) {
6
- const homePath = get(this, 'app.waibu.config.home.path')
7
- const homeForward = get(this, 'app.waibu.config.home.forward')
8
- if (homePath && homeForward) checks.unshift('/')
9
- }
10
- */
11
- return checks
3
+ return uniq(without([req.routeOptions.url, req.url], undefined, null))
12
4
  }
13
5
 
14
6
  async function setUser (req) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sumba",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Bajo Framework's Biz Suite",
5
5
  "main": "index.js",
6
6
  "scripts": {