@waline/vercel 1.5.0 → 1.5.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.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "vercel server for waline comment system",
5
5
  "repository": "https://github.com/walinejs/waline",
6
6
  "license": "MIT",
@@ -105,7 +105,7 @@ module.exports = {
105
105
  forbiddenWords,
106
106
  disallowIPList: [],
107
107
  secureDomains: SECURE_DOMAINS ? SECURE_DOMAINS.split(/\s*,\s*/) : undefined,
108
- disableUserAgent: !isFalse(DISABLE_USERAGENT),
108
+ disableUserAgent: DISABLE_USERAGENT && !isFalse(DISABLE_USERAGENT),
109
109
  avatarProxy,
110
110
  oauthUrl,
111
111
  markdown,