l10n->t('Background blur'); } #[\Override] public function run(): SetupResult { $url = $this->urlGenerator->linkTo('spreed', 'js/vision_wasm_internal.wasm'); $noResponse = true; $responses = $this->runRequest('HEAD', $url); foreach ($responses as $response) { $noResponse = false; if ($response->getStatusCode() === 200) { return SetupResult::success(); } } if ($noResponse) { return SetupResult::info( $this->l10n->t('Could not check for WASM loading support. Please check manually if your web server serves `.wasm` files.') . "\n" . $this->serverConfigHelp(), $this->urlGenerator->linkToDocs('admin-nginx'), ); } return SetupResult::warning( $this->l10n->t('Your web server is not properly set up to deliver `.wasm` files. This is typically an issue with the Nginx configuration. For background blur it needs an adjustment to also deliver `.wasm` files. Compare your Nginx configuration to the recommended configuration in our documentation.'), $this->urlGenerator->linkToDocs('admin-nginx'), ); } }