From 4ae1ad67fe29350435edf39ade6038e433a5b27a Mon Sep 17 00:00:00 2001 From: Banana Date: Sun, 15 Mar 2020 20:02:08 +0100 Subject: [PATCH] added html and js as default allowed type --- webroot/config.default.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/config.default.php b/webroot/config.default.php index 009429f..81b2b40 100644 --- a/webroot/config.default.php +++ b/webroot/config.default.php @@ -18,7 +18,7 @@ define('SELFPASTE_UPLOAD_SECRET','PLEASE CHANGE YOUR SECRET'); define('SELFPASTE_UPLOAD_DIR','pasties'); # those are the allowed file types. # Make sure you read the README and documentation! -define('SELFPASTE_ALLOWED_FILETYPES','text/plain,text/comma-separated-values,text/css,text/xml,text/x-php,text/x-perl,text/x-shellscript'); +define('SELFPASTE_ALLOWED_FILETYPES','text/plain,text/comma-separated-values,text/css,text/xml,text/x-php,text/x-perl,text/x-shellscript,text/html,text/javascript'); # this is your domain and path on which selfpaste is accessible # needed to respond with the correct link for your paste # please NO / at the end -- 2.39.5