google apps script - ScriptApp.getService().getUrl() returns an invalid URL which does not open -


i trying publish gas web app script itself. tried following code.

function publish(){   var service = scriptapp.getservice();   if(!service.isenabled()){      service.enable(service.restriction.all);   }   var url = service.geturl();   logger.log(url); } 

surprisingly returns url fake. if go url nothing opens. if manually go script-editor , save new version , publish app modal popup, again running above code returns correct url. may cause ? not potential bug in app script ?

this known issue - https://code.google.com/p/google-apps-script-issues/issues/detail?id=1703

please star more updates on it. @ point there no way programmatically deploy web app.


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -