aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-07-30 23:55:52 +0000
committerterminaldweller <devi@terminaldweller.com>2024-07-30 23:55:52 +0000
commitfd65e952b4443b9e516a9f4f8668aac9dc27cd48 (patch)
treee1608c29390c9757e46c7724e9e9ce19c24b70cd /plugins
parent* fixed a crash when unloading a lua script (diff)
downloadmilla-fd65e952b4443b9e516a9f4f8668aac9dc27cd48.tar.gz
milla-fd65e952b4443b9e516a9f4f8668aac9dc27cd48.zip
* fixed a bug where we would end up with an unwanted whitespace at the
beginning of all args passed to the custom lua commands * added some notes to the readme
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ip.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/ip.lua b/plugins/ip.lua
index 79ac6e2..38c9f4e 100644
--- a/plugins/ip.lua
+++ b/plugins/ip.lua
@@ -14,6 +14,8 @@ function milla_get_ip(arg)
local url = "http://ip-api.com/json/" .. arg
+ print("Requesting: " .. url)
+
local response, err = http.request("GET", url)
if err ~= nil then print(err) end