Browse Source

update README

master
Markus Bergholz 3 years ago
parent
commit
ce8497de91
2 changed files with 6 additions and 1 deletions
  1. +5
    -0
      README.md
  2. +1
    -1
      config.lua

+ 5
- 0
README.md View File

@@ -67,6 +67,11 @@ E.g. if you're on a fresh Ubuntu

curl -w '\n' http://127.0.0.1:8000/lrange/tinywebdis/0/-1
{ "lrange":[ "lua", "dyad", "redis"] }
##### jsonp support

curl -w '\n' http://127.0.0.1:8888/get/foo?callback=myfunc
myfunc({"get":"gnupower"})





+ 1
- 1
config.lua View File

@@ -1,6 +1,6 @@
-- TurboWebdis config

return {
["turbo"] = { ["port"] = 8888, ["logging"] = false, ["CORS"] = false, ["JSONP"] = false },
["turbo"] = { ["port"] = 8888, ["logging"] = false, ["CORS"] = false, ["JSONP"] = true },
["redis"] = { ["host"] = "127.0.0.1", ["port"] = 6379, ["auth"] = "", ["db"] = "0"}
}

Loading…
Cancel
Save