From 4c292e7c88d4d508dd066aa9fa0d3f2f82c8386c Mon Sep 17 00:00:00 2001 From: edshot99 Date: Mon, 2 Sep 2024 23:25:03 -0500 Subject: [PATCH] fork --- lua/cfc_http_restrictions/configs/cfc.lua | 46 ------------------- .../configs/groovyexpress.lua | 14 ++++++ 2 files changed, 14 insertions(+), 46 deletions(-) delete mode 100644 lua/cfc_http_restrictions/configs/cfc.lua create mode 100644 lua/cfc_http_restrictions/configs/groovyexpress.lua diff --git a/lua/cfc_http_restrictions/configs/cfc.lua b/lua/cfc_http_restrictions/configs/cfc.lua deleted file mode 100644 index ca8f346..0000000 --- a/lua/cfc_http_restrictions/configs/cfc.lua +++ /dev/null @@ -1,46 +0,0 @@ -AddCSLuaFile() - -return { - version = "1", -- this field allows backwards compatibility if the config structure is ever updated - - wrapHTMLPanels = true, - - addresses = { - ["nanny.cfcservers.dev"] = { allowed=true, noisy = true, permanent = true }, - ["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 }, - - -- dino game has this in the html - ["www.html5rocks.com"] = { allowed = true, permanent = true }, - - ["wiki.garrysmod.com"] = { allowed = true }, - ["en.wikipedia.org"] = { allowed = true }, - ["developer.mozilla.org"] = { allowed = 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 }, - - -- Express - ["gmod.express"] = { allowed = true, permanent = true }, - ["stg.gmod.express"] = { allowed = true, permanent = true }, - - ["gmod.pages.dev"] = { allowed = true, permanent = true }, - - -- Steam API, mapvote uses this. - ["api.steampowered.com"] = { allowed = true, permanent = true }, - ["steamuserimages-a.akamaihd.net"] = { allowed = true, permanent = true } - } -} diff --git a/lua/cfc_http_restrictions/configs/groovyexpress.lua b/lua/cfc_http_restrictions/configs/groovyexpress.lua new file mode 100644 index 0000000..3c96aee --- /dev/null +++ b/lua/cfc_http_restrictions/configs/groovyexpress.lua @@ -0,0 +1,14 @@ +AddCSLuaFile() + +return { + version = "1", -- this field allows backwards compatibility if the config structure is ever updated + + wrapHTMLPanels = true, + + addresses = { + ["upload.wikimedia.org"] = { allowed = true }, + + ["share.groovyexpress.com"] = { allowed = true }, + ["www.groovyexpress.com"] = { allowed = true, permanent = true } + } +}