dsh-unlag 1.9.3 → 1.9.4
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/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -680,7 +680,7 @@ function buttonAllowed(req) {
|
|
|
680
680
|
const origin = typeof req?.headers?.origin === 'string' ? req.headers.origin.trim().toLowerCase() : ''
|
|
681
681
|
if (origin === 'null') return false
|
|
682
682
|
if (origin !== '') {
|
|
683
|
-
let
|
|
683
|
+
let originSite = ''
|
|
684
684
|
try {
|
|
685
685
|
originSite = new URL(origin).host.toLowerCase() // ui-copy-ignore
|
|
686
686
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-unlag",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A press applies plugin edits right away and brings a laggy interface back; automatic reloading stays off unless you turn it on, so the press is the only trigger, and nothing restarts.",
|
|
6
6
|
"license": "MIT",
|