We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ade37d9 commit 2f796e7Copy full SHA for 2f796e7
config/server/webhook.lua
@@ -1,7 +1,10 @@
1
local active <const> = true
2
-local loadjson <const> = active and require 'imports.json.server'.load
+if not active then return false end
3
4
-return active and loadjson('data/server/webhook')
+local loadjson <const> = active and require 'imports.json.server'.load
5
+local data <const> = loadjson('data.server.webhook')
6
+--print(json.encode(data, { indent = true, sort_keys = true }))
7
+return active and data
8
9
--[[
10
return active and {
0 commit comments