my return type of the following code is returning null even when my code is deployed as web app,
ScriptApp.getService().getUrl();
I was trying to link multiple HTML in my google script based application, and I followed this link
for doing this, however when I checked my return type in the below code, it was retuning null
function getScriptUrl() {
var url = ScriptApp.getService().getUrl();
Logger.log(url);
return url;
}
According to the documentation mentioned here, it should return null only if my code is not deployed, but my code is already deployed and I deployed it from Publish>Deploy as web App, I also check the deployment by changing the version but nothing is working out for me.