diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-05-01 09:35:25 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-05-01 09:35:25 -0600 |
commit | f797bb14f7413df2abac6326c6df769004e50aa1 (patch) | |
tree | 20850afbf9d45adbbcc6fc3a7aecedfa34db830c /pyssg.xyz/live/static/hl/languages/accesslog.min.js | |
parent | 127130ab909dac8886f45ec856f1d1bce3c7bcc0 (diff) |
small bugfix, add toc settings, update example site and delete unnecessary static assets
Diffstat (limited to 'pyssg.xyz/live/static/hl/languages/accesslog.min.js')
-rw-r--r-- | pyssg.xyz/live/static/hl/languages/accesslog.min.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pyssg.xyz/live/static/hl/languages/accesslog.min.js b/pyssg.xyz/live/static/hl/languages/accesslog.min.js deleted file mode 100644 index fab05fd..0000000 --- a/pyssg.xyz/live/static/hl/languages/accesslog.min.js +++ /dev/null @@ -1,12 +0,0 @@ -hljs.registerLanguage("accesslog",(()=>{"use strict";return e=>{ -const n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"] -;return{name:"Apache Access Log",contains:[{className:"number", -begin:"^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b",relevance:5},{ -className:"number",begin:"\\b\\d+\\b",relevance:0},{className:"string", -begin:'"('+n.join("|")+")",end:'"',keywords:n.join(" "),illegal:"\\n", -relevance:5,contains:[{begin:"HTTP/[12]\\.\\d",relevance:5}]},{ -className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:"\\n",relevance:1},{ -className:"string",begin:/\[/,end:/\]/,illegal:"\\n",relevance:0},{ -className:"string",begin:'"Mozilla/\\d\\.\\d \\(',end:'"',illegal:"\\n", -relevance:3},{className:"string",begin:'"',end:'"',illegal:"\\n",relevance:0}]}} -})());
\ No newline at end of file |