From 0a674fbaa081403cf2e5470f88b0fc35a6fc8a65 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 14 Jan 2025 09:28:43 +0100 Subject: [PATCH] fix(templates): Fix loading script and style Signed-off-by: provokateurin --- templates/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/index.php b/templates/index.php index cc56d93..61fa7ab 100644 --- a/templates/index.php +++ b/templates/index.php @@ -4,7 +4,8 @@ declare(strict_types=1); use OCP\Util; -Util::addScript(OCA\AppTemplate\AppInfo\Application::APP_ID, 'main'); +Util::addScript(OCA\AppTemplate\AppInfo\Application::APP_ID, OCA\AppTemplate\AppInfo\Application::APP_ID . '-main'); +Util::addStyle(OCA\AppTemplate\AppInfo\Application::APP_ID, OCA\AppTemplate\AppInfo\Application::APP_ID . '-main'); ?>