summaryrefslogtreecommitdiff
path: root/src/web/_controller/_meta.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_controller/_meta.php')
-rw-r--r--src/web/_controller/_meta.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/web/_controller/_meta.php b/src/web/_controller/_meta.php
index bec3c65..06c7c0a 100644
--- a/src/web/_controller/_meta.php
+++ b/src/web/_controller/_meta.php
@@ -1,21 +1,21 @@
<?php /* Copyright (c) 2024 Freya Murphy */
-class _meta_controller extends Controller {
+class _meta_controller extends XSS_Controller {
public function manifest(): void {
$json = array(
- 'short_name' => 'xssbook.com',
- 'name' => 'xssbook.com',
+ 'short_name' => CONFIG['domain'],
+ 'name' => CONFIG['domain'],
'icons' => [
array(
- 'src' => 'https://xssbook.com/public/icons/logo512.png',
+ 'src' => $this->get_url('public/icons/logo512.png'),
'type' => 'image/png',
'sizes' => '512x512',
'purpose' => 'any maskable'
)
],
- 'id' => 'https://xssbook.com/home',
- 'start_url' => 'https://xssbook.com/home',
+ 'id' => $this->get_url('home'),
+ 'start_url' => $this->get_url('home'),
'background_color' => '#181818',
'display' => 'standalone',
'scope' => '/',