Created
May 7, 2020 05:57
-
-
Save zaelani23/1cfa05a3d4ca2e6d70b0a4bd67fc464c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function doGet(request) { | |
| var template = HtmlService.createTemplateFromFile('Index') //Membuat halaman HTML dari file Index.html | |
| var pageData = template.evaluate() | |
| .setTitle("Web Apps Responsive") // Judul web App | |
| .addMetaTag("viewport","width=device-width, initial-scale=1") //Kode tambahan agar web app responsif | |
| .setSandboxMode(HtmlService.SandboxMode.IFRAME) | |
| .setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL) | |
| return pageData; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
function doGet(request) {
var template = HtmlService.createTemplateFromFile('Index') //Membuat halaman HTML dari file Index.html
var pageData = template.evaluate()
.setTitle("Web Apps Responsive") // Judul web App
.addMetaTag("viewport","width=device-width, initial-scale=1") //Kode tambahan agar web app responsif
.setSandboxMode(HtmlService.SandboxMode.IFRAME)
.setXFrameOptionsMode(HtmlService.XFrameOptionsMode.ALLOWALL)
return pageData;
}
Comment