src/JsRender/PlainFile.vala
authorAlan Knowles <alan@roojs.com>
Fri, 9 Sep 2022 05:55:27 +0000 (13:55 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 9 Sep 2022 05:55:27 +0000 (13:55 +0800)
src/JsRender/PlainFile.vala

index d5d7b60..ca3f973 100644 (file)
@@ -23,7 +23,7 @@ namespace JsRender {
         
             aconstruct( project, path);
             this.xtype = "PlainFile";
-            
+            this.content_type = "text/plain";
             // if the file does not exist...
             if (GLib.FileUtils.test(path, GLib.FileTest.EXISTS)) {
                        var f = File.new_for_path (path) ;