Google Apps脚本网络应用程序会自动链接到最新的代码? [英] Google Apps script web app automatically linked to latest code?

查看:116
本文介绍了Google Apps脚本网络应用程序会自动链接到最新的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了Google Apps脚本,并使用发布>部署Web应用程序,并使用 script.google.com/macros/s/ ##### / exec?run = ok



每次我在代码中进行小小的修改时,都需要重做 发布>部署Web应用程序并将项目版本更改为新建



这有时非常烦人,因为每次小修改都需要重做这个。



有没有从 script.google.com/macros/s/ ##### / exec?run = ok 自动调用脚本的方法链接到最新版本的代码?

解决方案

是的,您可以通过将'/ dev '而不是'/ exec'


I created a Google Apps script, I've deployed it with Publish > Deploy web app and I'm running it with script.google.com/macros/s/#####/exec?run=ok.

Each time I do a small modification in the code, I need to redo Publish > Deploy web app and change Project version to New.

This is sometimes very annoying because for each small modification, you need to redo this.

Is there a way to make that calling the script from script.google.com/macros/s/#####/exec?run=ok automatically links to the latest version of the code?

解决方案

Yes, you can test the app for the latest code by putting '/dev' in the URL instead of '/exec' https://developers.google.com/apps-script/guides/web

Click on 'Test web app for your latest code' to grab the link

这篇关于Google Apps脚本网络应用程序会自动链接到最新的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆