fix MIME types and add examples

cpp files were getting recognised as "text/csrc". checking subtrings is
a better way to compare MIME types.

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2020-12-29 21:37:54 +05:30
parent 855a0faec2
commit c138e9ad3e
2 changed files with 37 additions and 16 deletions

View File

@@ -15,7 +15,7 @@
code {
background: #fff;
position: fixed;
width:100%;
width: 100%;
bottom: 0;
right: 0;
left: 0;