[英]Publishing Google Apps Script to Chrome Webstore
I published a script I wrote in Google Apps Scripts to Chrome Webstore. 我将用Google Apps脚本编写的脚本发布到Chrome Webstore。 However, it is linked to a different script URL than the one I am using, so when I open the webpage it simply says:
Function doGet() not found
. 但是,它链接到的脚本URL与我使用的脚本URL不同,因此,当我打开网页时,它只是说:
Function doGet() not found
。 However, when I open the correct URL including /exec
in the browser it runs correctly. 但是,当我在浏览器中打开包括
/exec
在内的正确URL时,它将正确运行。
Why is this happening? 为什么会这样呢?
And why is it only displaying "Visit website" and not "Add to chrome"? 为什么只显示“访问网站”而不显示“添加到chrome”?
Try the solution from this SO post : saving and republishing your google script web app is not good enough. 尝试通过此SO帖子解决方案:保存并重新发布Google脚本网络应用程序还不够好。 You need to save a new version and publish the new version to make sure your app gets updated properly.
您需要保存一个新版本并发布新版本,以确保您的应用得到正确的更新。
Also additional answer from this SO post . 还可以从此SO帖子获得其他答案。
I would also recommend to read about Apps Script Web Apps to get a gist of the foundation. 我还建议阅读有关Apps Script Web Apps的信息,以了解基础知识。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.