forked from hhaccessibility/hhaccessibility.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPWAController.php
More file actions
37 lines (35 loc) · 1.13 KB
/
PWAController.php
File metadata and controls
37 lines (35 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php namespace App\Http\Controllers;
use Illuminate\Routing\Controller;
class PWAController extends Controller
{
public function manifest()
{
return response()->json([
"dir" => "ltr",
"lang" => "en",
"name" => "AccessLocator",
"display" => "fullscreen",
"start_url" => "/?using_pwa=1",
"short_name" => "AccessLocator",
"background_color" => "#e7f3f5",
"theme_color" => "#202767",
"description" => "Your personalized access to the world",
"orientation" => "portrait",
"background_color" => "#202767",
"related_applications" => [],
"prefer_related_applications" => false,
"icons" => [
[
"src" => "/images/logo-192x192.png",
"type" => "image/png",
"sizes" => "192x192"
],
[
"src" => "/images/logo-512x512.png",
"type" => "image/png",
"sizes" => "512x512"
]
]
]);
}
}