Google Apps script web app automatically linked to

2019-06-01 08:02发布

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?

1条回答
贼婆χ
2楼-- · 2019-06-01 08:53

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

enter image description here

查看更多
登录 后发表回答