From 2f88f09e1567cad81c907c963269c3c7cf3dc746 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Thu, 6 Jun 2024 10:01:38 +0800 Subject: [PATCH] style(conf_loader): add "jo" option for ngx.re.sub --- kong/conf_loader/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kong/conf_loader/init.lua b/kong/conf_loader/init.lua index 57e793137eb1..8261f1ea48dd 100644 --- a/kong/conf_loader/init.lua +++ b/kong/conf_loader/init.lua @@ -141,7 +141,7 @@ local function load_config(thing) -- remove trailing comment, if any -- and remove escape chars from octothorpes if value then - value = ngx.re.sub(value, [[\s*(?