r/GoogleAppsScript • • Jan 25 '21

Question Any way to keep /exec URL from changing between deployments?

Comment removed in protest of Reddit's API changes forcing third-party apps to shut down

6 Upvotes

5 comments sorted by

2

u/joblio Jan 25 '21

Yes to your edit part b. The exec url changed with the first deployment with the new IDE, in fact I think both the latest old IDE deployment and the first (or latest) new IDE deployment are active until you deactivate (now called archive) the old one.

1

u/Strel0k Jan 26 '21

Cool thanks, now I can stop freaking out.

1

u/kawalao Jan 25 '21

When using clasp, you have to specify the deployment ID as an input to the command in order for it to keep the same URL. I’m not familiar with the new IDE though

1

u/Strel0k Jan 25 '21 edited Jun 19 '23

Comment removed in protest of Reddit's API changes forcing third-party apps to shut down.

1

u/kawalao Jan 25 '21

Ah, I see. I’m not aware of how the new IDE handles deployments, but when I first set up my project, I decided I would have to use clasp for deployment in order to preserve the deployment ID. If you’re able to preserve the deployment ID with the IDE, then that’s all the better!