function doGet() { var template = HtmlService.createTemplateFromFile('index.html'); return template.evaluate().setSandboxMode(HtmlService.SandboxMode.IFRAME); }
HTMLファイルを作成
名前はindexとしてみましょう。
<!DOCTYPE html> <html> <head> <base target="_top"> </head> <body> Yeah!! </body> </html>
ウェブアプリケーションとして導入
「最新のコード」という奴で中身が確認できます。
私の環境では、どういうわけか定時されたURLでは一般公開が上手くいっていません