我已将 Google 应用程序脚本部署为网络应用程序,它第一次可以工作,但现在已损坏
以下是重现问题的步骤
code.js
和 Index.html
function doGet() {
Logger.log("endpoint is executed!");
return HtmlService.createHtmlOutputFromFile('Index');
}
<!DOCTYPE html>
<html>
<head>
<base target="_top">
</head>
<body>
Hello, World!
</body>
</html>
问题当我转到链接时,花了太长时间才在控制台中响应此错误
未捕获的引用错误:loadTimeData 未在 HTMLDocument.onDocumentLoad 中定义
我以为是Google服务器故障,过一段时间就会恢复,但它仍然存在超过5天!
我是 Google 应用脚本的新手