X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=core%2Fsrc%2Fffluci%2Fhttp.lua;h=f4ba5709468179aafd9d7f4445c6459bff2c03b5;hp=eab12e8f837c292213500c2b18d7cc242cc25071;hb=a3a51464fd8cffa6d18fa3f18be9c699901abd0d;hpb=0120aec28526235d5efce2bbb12bc0e89cae6352;ds=sidebyside diff --git a/core/src/ffluci/http.lua b/core/src/ffluci/http.lua index eab12e8f83..f4ba570946 100644 --- a/core/src/ffluci/http.lua +++ b/core/src/ffluci/http.lua @@ -33,14 +33,4 @@ if ENV and ENV.HASERLVER then require("ffluci.sgi.haserl") elseif webuci then require("ffluci.sgi.webuci") -end - --- Asks the browser to redirect to "url" -function redirect(url, qs) - if qs then - url = url .. "?" .. qs - end - - ffluci.http.status(302, "Found") - print("Location: " .. url .. "\n") end \ No newline at end of file