mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-19 06:51:33 +02:00
[ticket/17321] Add versioning to push worker to force updates
PHPBB-17321
This commit is contained in:
@@ -138,6 +138,7 @@ class webpush
|
||||
// @todo: only work for logged in users, no anonymous & bot
|
||||
$content = $this->template->render('push_worker.js.twig', [
|
||||
'U_WEBPUSH_GET_NOTIFICATION' => $this->controller_helper->route('phpbb_ucp_push_get_notification_controller'),
|
||||
'ASSETS_VERSION' => $this->config['assets_version'],
|
||||
]);
|
||||
|
||||
$response = new Response($content);
|
||||
|
Reference in New Issue
Block a user