Skip to content

Commit

Permalink
fix(ui): use relativ paths to allow hosting in a subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
Hypfer committed Dec 28, 2021
1 parent 8d74825 commit 1e73947
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions frontend/package.json
@@ -1,11 +1,11 @@
{
"name": "valetudo-frontend",
"homepage": "/",
"homepage": "",
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"build": "react-scripts build",
"eject": "react-scripts eject",
"watch": "cra-build-watch -p /",
"watch": "cra-build-watch -p ''",
"ts-check": "tsc --noEmit --skipLibCheck",
"lint": "eslint .",
"lint_fix": "eslint . --fix",
Expand Down
6 changes: 3 additions & 3 deletions frontend/public/index.html
Expand Up @@ -2,15 +2,15 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="favicon.ico" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Valetudo"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<link rel="manifest" href="manifest.json" />
<style>
@media (prefers-color-scheme: dark) {
body {
Expand Down

0 comments on commit 1e73947

Please sign in to comment.