mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge pull request #3866 from soulsands/custom-match
fix: match custom path strictly
This commit is contained in:
commit
d3c2c314ac
@ -19,7 +19,7 @@ function handleRequest(req, res) {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const regex = new RegExp(attr.value);
|
const regex = new RegExp(`^${attr.value}$`);
|
||||||
let match;
|
let match;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user