@waline/vercel 1.15.0 → 1.15.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waline/vercel",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
4
4
  "description": "vercel server for waline comment system",
5
5
  "keywords": [
6
6
  "waline",
@@ -106,9 +106,10 @@ module.exports = {
106
106
  disallowIPList: [],
107
107
  secureDomains: SECURE_DOMAINS ? SECURE_DOMAINS.split(/\s*,\s*/) : undefined,
108
108
  disableUserAgent: DISABLE_USERAGENT && !isFalse(DISABLE_USERAGENT),
109
- levels: isFalse(LEVELS)
110
- ? false
111
- : LEVELS.split(/\s*,\s*/).map((v) => Number(v)),
109
+ levels:
110
+ !LEVELS || isFalse(LEVELS)
111
+ ? false
112
+ : LEVELS.split(/\s*,\s*/).map((v) => Number(v)),
112
113
  avatarProxy,
113
114
  oauthUrl,
114
115
  markdown,