Skip to content
This repository has been archived by the owner on Sep 21, 2018. It is now read-only.

Commit

Permalink
Webhooks - refine progressive web app manifest
Browse files Browse the repository at this point in the history
Beware that files in /public are redirected by service worker to index.html
Means that https://webhooks.integrations.costlocker.com/favicon.ico is accessible on in anonymous window :)

facebook/create-react-app#2894 (comment)
facebook/create-react-app#3024 (comment)
  • Loading branch information
zdenekdrahos committed Sep 8, 2017
1 parent f65ea1d commit 0ced1f6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 3 additions & 1 deletion webhooks/frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<title>Costlocker Webhooks</title>
<link rel="manifest" href="/manifest.json" />
</head>
<body>
<div id="root"></div>
Expand Down
14 changes: 12 additions & 2 deletions webhooks/frontend/public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
{
"short_name": "CL Webhooks",
"name": "Costlocker Webhooks"
"short_name": "Webhooks",
"name": "Costlocker Webhooks",
"icons": [
{
"src": "favicon.ico",
"sizes": "16x16",
"type": "image/png"
}
],
"start_url": "/webhooks",
"theme_color": "#000000",
"background_color": "#ffffff"
}

0 comments on commit 0ced1f6

Please sign in to comment.