minor fix on blogger

This commit is contained in:
Xuan Sang LE 2020-06-05 20:06:10 +02:00
parent 5b1cbf51ee
commit a8a8e2da15
7 changed files with 11 additions and 4 deletions

View File

@ -2,3 +2,9 @@
Blackend for my blog at https://blog.iohub.dev
## Change logs
### v0.1.0-a
* Minor bug fix
* Change default email of the sender

View File

@ -6,7 +6,7 @@ local iserror = false
for k,v in pairs(data.to) do
print("sent to:"..v)
local to = v
local from = "From: xsang.le@gmail.com\n"
local from = "From: mrsang@lxsang.me\n"
local suject = "Subject: " .. data.title .. "\n"
local content = data.content.."\n"
local cmd = 'echo "' .. utils.escape(from .. suject .. content) .. '"| sendmail ' .. to

View File

@ -1,3 +1,4 @@
# Blogger
Blackend for my blog at https://blog.iohub.dev

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE",
"email": "xsang.le@gmail.com"
},
"version":"0.0.9-a",
"version":"0.1.0-a",
"category":"Internet",
"iconclass":"fa fa-book",
"mimes":["none"]

View File

@ -6,7 +6,7 @@ local iserror = false
for k,v in pairs(data.to) do
print("sent to:"..v)
local to = v
local from = "From: xsang.le@gmail.com\n"
local from = "From: mrsang@lxsang.me\n"
local suject = "Subject: " .. data.title .. "\n"
local content = data.content.."\n"
local cmd = 'echo "' .. utils.escape(from .. suject .. content) .. '"| sendmail ' .. to

Binary file not shown.

View File

@ -6,7 +6,7 @@
"author": "Xuan Sang LE",
"email": "xsang.le@gmail.com"
},
"version":"0.0.9-a",
"version":"0.1.0-a",
"category":"Internet",
"iconclass":"fa fa-book",
"mimes":["none"]