From 3d2e1299b1d578145c5a1dffe44cc7a021717204 Mon Sep 17 00:00:00 2001 From: Xuan Sang LE Date: Tue, 28 Aug 2018 10:40:55 +0200 Subject: [PATCH] fix --- silk/Router.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/silk/Router.lua b/silk/Router.lua index 4ccabd4..5b72985 100644 --- a/silk/Router.lua +++ b/silk/Router.lua @@ -32,9 +32,9 @@ function Router:infer(url) args = {} } if args and #args > 0 and args[1] ~= "" then - data.name = args[1] + data.name = args[1]:gsub("%.", "") if args[2] then - data.action = args[2] + data.action = args[2]:gsub("%.", "") end for i = 3, #args do table.insert(data.args, args[i])