Google Script 应用程序在隐身模式下失败 [英] Google Script App Fails in Incognito Mode
问题描述
我有一个简单的 Google 脚本,作为具有匿名访问权限的网络应用程序发布.代码在
感谢您调查此问题.
这在 Google 看来是个问题,他们也承认了错误.我们必须等到他们发布修复程序.
更新:看来 Google 已推出更新,问题已自动解决.该网络应用程序现在可以像以前一样工作.
I have a simple Google Script published as a web app with anonymous access. The code is available here and the web app is available here.
code.gs
function doGet() {
return HtmlService.createHtmlOutputFromFile("index").setTitle("Google Script")
}
index.html
<!DOCTYPE html>
<html>
<head>
<base target="_top">
</head>
<body>
<p>Hello</p>
</body>
</html>
The script web app works in normal Chrome mode but returns a 500 error when the page is viewed in the incognito mode of Chrome or Firefox.
The script fails with a 500 error in both V8 and DEPRECATED_ES5 runtime.
See screenshot.
Thank you for looking into this issue.
It looks like a problem at Google's end and they have acknowledged the bug as well. We'll have to wait until they issue fix.
Update: Looks like Google has rolled out an update and the issue is automatically resolved. The web app is now working as before.
这篇关于Google Script 应用程序在隐身模式下失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!