diff options
| author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-08-22 19:38:36 +0200 |
|---|---|---|
| committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-08-22 19:38:36 +0200 |
| commit | 772c9629ebbffc2751c9048f0708bd009a8bd3ca (patch) | |
| tree | 04fc546135c3ff2a2ba27fd687079f9ae6958e5c /clientmods | |
| parent | 9b1030cac4409b262dca73d2f0741fe78d4998ee (diff) | |
| download | dragonfireclient-772c9629ebbffc2751c9048f0708bd009a8bd3ca.tar.xz | |
Unrestricted HTTP API for Client, Server and Main Menu
Diffstat (limited to 'clientmods')
| -rw-r--r-- | clientmods/mods.conf | 2 | ||||
| -rw-r--r-- | clientmods/test/init.lua | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/clientmods/mods.conf b/clientmods/mods.conf index a2a29c06f..3fcd30dfd 100644 --- a/clientmods/mods.conf +++ b/clientmods/mods.conf @@ -4,4 +4,4 @@ load_mod_respawn = true load_mod_inventory = true load_mod_commands = true load_mod_chat = true -load_mod_invertory = false +load_mod_test = true diff --git a/clientmods/test/init.lua b/clientmods/test/init.lua new file mode 100644 index 000000000..3020f9a62 --- /dev/null +++ b/clientmods/test/init.lua @@ -0,0 +1,3 @@ +local HTTPApiTable = minetest.get_http_api() + +print(dump(HTTPApiTable.fetch_sync({url = "https://example.org"}))) |
