commit 678d0c2ae7ef1cccc203944c476e88be126a71a5 Author: Pierce Date: Sun Aug 21 17:03:22 2022 -0400 add config diff --git a/lua/cfc_http_restrictions/configs/cfc.lua b/lua/cfc_http_restrictions/configs/cfc.lua new file mode 100644 index 0000000..2d20844 --- /dev/null +++ b/lua/cfc_http_restrictions/configs/cfc.lua @@ -0,0 +1,31 @@ +AddCSLuaFile() + +-- TODO this should be in its own repo + +return { + version="1", -- this field allows backwards compatibility if the config structure is ever updated + + wrapHTMLPanels = true, + + addresses = { + -- TODO can we delete these, we have *.cfcservers.org? + ["nanny.cfcservers.org"] = {allowed=true, noisy=true, permanent=true}, + ["paste.cfcservers.org"] = {allowed=true, noisy=true, permanent=true}, + ["cdn.cfcservers.org"] = {allowed=true, noisy=true, permanent=true}, + + ["*.cfcservers.org"] = {allowed=true, permanent=true}, + ["cfcservers.org"] = {allowed=true, permanent=true}, + + ["google.com"] = {allowed=true, permanent=true}, + ["www.google.com"] = {allowed=true, permanent=true}, + + ["api.mixpanel.com"] = {allowed=true}, + + -- fox pictures + ["fox.pics"] = {allowed=true}, + ["*.fox.pics"] = {allowed=true}, + + -- media player + ["samuelmaddock.github.io"] = {allowed=true, isPermanent=true} -- Media player + } +} \ No newline at end of file