diff --git a/.google-scripts/sendRowWithColumnNamesToBackend.gs b/.google-scripts/sendRowWithColumnNamesToBackend.gs index 29e6c2a..740ce9d 100644 --- a/.google-scripts/sendRowWithColumnNamesToBackend.gs +++ b/.google-scripts/sendRowWithColumnNamesToBackend.gs @@ -38,10 +38,10 @@ function sendRowWithColumnNamesToBackend() { var sheetName = sheet.getName(); if (sheetName==='Pages') { - UrlFetchApp.fetch(host+'cms-sheets/page-update', requestOptions); + UrlFetchApp.fetch(host+'/cms-sheets/page-update', requestOptions); } else if (sheetName==='Menu') { - UrlFetchApp.fetch(host+'cms-sheets/menu-update', requestOptions); + UrlFetchApp.fetch(host+'/cms-sheets/menu-update', requestOptions); } else throw new Error('There is no handler for this sheet!'); }