Skip to content

Commit

Permalink
fix(frontend): fix web-manifest and sub-routing
Browse files Browse the repository at this point in the history
  • Loading branch information
MauriceNino committed Jul 20, 2022
1 parent 5c7a566 commit 1c119d8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 11 deletions.
6 changes: 5 additions & 1 deletion apps/view/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
"baseHref": "/",
"main": "apps/view/src/index.tsx",
"tsConfig": "apps/view/tsconfig.json",
"assets": ["apps/view/src/assets"],
"assets": [
"apps/view/src/assets",
"apps/view/src/manifest.json",
"apps/view/src/robots.txt"
],
"styles": [],
"scripts": [],
"webpackConfig": "@nrwl/react/plugins/webpack"
Expand Down
6 changes: 3 additions & 3 deletions apps/view/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="assets/favicon.ico" />
<link rel="icon" href="./assets/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=0.8" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="assets/logo192.png" />
<link rel="manifest" href="assets/manifest.json" />
<link rel="apple-touch-icon" href="./assets/logo192.png" />
<link rel="manifest" href="./manifest.json" />
<title>dash.</title>
</head>
<body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"name": "dash.",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"src": "./assets/favicon.ico",
"sizes": "256x256",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"src": "./assets/logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"src": "./assets/logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"start_url": "/",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
"theme_color": "#775a9e",
"background_color": "#4f4f4f"
}
File renamed without changes.

0 comments on commit 1c119d8

Please sign in to comment.