Skip to content

Commit

Permalink
fixup! perf(login): create a custom bundle for login
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny committed Sep 5, 2023
1 parent b5f19a0 commit 2e489ef
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core/Listener/BeforeTemplateRenderedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* @copyright 2022 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Richard Steinmetz <richard@steinmetz.cloud>
*
* @license GNU AGPL version 3 or any later version
*
Expand Down Expand Up @@ -49,12 +50,6 @@ public function handle(Event $event): void {

\OC_Util::addStyle('server', null, true);

if ($event instanceof BeforeLoginTemplateRenderedEvent) {
// todo: make login work without these
//Util::addScript('core', 'common');
//Util::addScript('core', 'main');
}

if ($event instanceof BeforeTemplateRenderedEvent) {
// include common nextcloud webpack bundle
Util::addScript('core', 'common');
Expand Down

0 comments on commit 2e489ef

Please sign in to comment.