diff --git a/core/boot.js b/core/boot.js index 1b8252451..44553e2c1 100644 --- a/core/boot.js +++ b/core/boot.js @@ -64,7 +64,8 @@ $tw.config.fileExtensions = { ".jpg": {type: "image/jpeg", encoding: "base64"}, ".jpeg": {type: "image/jpeg", encoding: "base64"}, ".png": {type: "image/png", encoding: "base64"}, - ".gif": {type: "image/gif", encoding: "base64"} + ".gif": {type: "image/gif", encoding: "base64"}, + ".svg": {type: "image/svg+xml", encoding: "utf8"} }; /////////////////////////// Utility functions