{"version":3,"file":"core-backgroundjobs.mjs","sources":["../core/src/cron.ts"],"sourcesContent":["/**\n * @copyright Copyright (c) 2024 Ferdinand Thiessen \n *\n * @author Ferdinand Thiessen \n *\n * @license AGPL-3.0-or-later\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see .\n *\n */\n\nimport { getRootUrl } from '@nextcloud/router'\n\n// start worker once page has loaded\nwindow.addEventListener('DOMContentLoaded', () => {\n\twindow.fetch(`${getRootUrl()}/cron.php`)\n})\n"],"names":["getRootUrl"],"mappings":";uCAyBA,OAAO,iBAAiB,mBAAoB,IAAM,CACjD,OAAO,MAAM,GAAG,OAAWA,EAAA,EAAC,WAAW,CAAA,CACxC,CAAC"}