Skip to content

NOW MANAGED ON CODEBERG

Normalize ini and properties values

Connor O'Sheafca69643db40
diff --git a/resources/js/services/code.js b/resources/js/services/code.js
index 7dddc92fd..f92752109 100644
--- a/resources/js/services/code.js
+++ b/resources/js/services/code.js
@@ -43,7 +43,7 @@ const modeMap = {
haskell: 'haskell',
hs: 'haskell',
html: 'htmlmixed',
- ini: 'text/x-ini',
+ ini: 'ini',
javascript: 'javascript',
json: {name: 'javascript', json: true},
js: 'javascript',
@@ -56,7 +56,7 @@ const modeMap = {
ml: 'mllike',
nginx: 'nginx',
powershell: 'powershell',
- properties: 'text/x-properties',
+ properties: 'properties',
ocaml: 'mllike',
php: 'php',
py: 'python',