Fix lint errors

This commit is contained in:
Owen
2025-10-05 15:22:54 -07:00
parent 9649d9a46b
commit e5f4da9a99
14 changed files with 23 additions and 25 deletions

View File

@@ -24,7 +24,7 @@ export default function createPathRewriteMiddleware(
switch (rewritePathType) {
case "exact":
// Replace the path with the exact rewrite path
let exactPattern = `^${escapeRegex(path)}$`;
const exactPattern = `^${escapeRegex(path)}$`;
middlewares[middlewareName] = {
replacePathRegex: {
regex: exactPattern,