wapplr 1.0.72 → 1.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server/html.js
CHANGED
|
@@ -108,5 +108,5 @@ function html(_ref) {
|
|
|
108
108
|
var headComponent = wapp.contents.getComponent("head");
|
|
109
109
|
var headText = headComponent ? headComponent.render(wapp) : "";
|
|
110
110
|
var htmlLang = lang.split("_")[0];
|
|
111
|
-
return "<!DOCTYPE html>\n<html lang=\"".concat(htmlLang, "\">\n <head>\n <meta charset=\"
|
|
111
|
+
return "<!DOCTYPE html>\n<html lang=\"".concat(htmlLang, "\">\n <head>\n <meta charset=\"UTF-8\">\n <title>").concat(title, "</title>\n <meta name=\"description\" content=\"").concat(description, "\">\n <meta name=\"author\" content=\"").concat(author, "\">\n <meta name=\"viewport\" content=\"").concat(viewport, "\">\n <meta name=\"theme-color\" content=\"").concat(themeColor, "\">\n <link rel=\"manifest\" href=\"").concat(manifest, "\" />\n <link rel=\"icon\" href=").concat(icon, ">\n <link rel=\"apple-touch-icon\" href=\"").concat(appleTouchIcon || icon, "\">\n ").concat(headText, "\n ").concat(styleText, "\n ").concat(cssText, "\n </head>\n <body>\n <div class=\"").concat(appStyle.app, "\" id=\"").concat(containerElementId, "\">").concat(render, "</div>\n ").concat(stateText, "\n ").concat(scriptText, "\n </body>\n</html>\n");
|
|
112
112
|
}
|
|
@@ -41,7 +41,8 @@ var mimeType = {
|
|
|
41
41
|
".doc": "application/msword",
|
|
42
42
|
".eot": "application/vnd.ms-fontobject",
|
|
43
43
|
".ttf": "application/x-font-ttf",
|
|
44
|
-
".xml": "application/xml"
|
|
44
|
+
".xml": "application/xml",
|
|
45
|
+
".map": "application/json"
|
|
45
46
|
};
|
|
46
47
|
exports.mimeType = mimeType;
|
|
47
48
|
|