use / as default homepage in package.json

This commit is contained in:
lukas 2021-01-01 19:49:18 +01:00
parent 272c88ab50
commit 3e9cb7410f
2 changed files with 7 additions and 7 deletions

View File

@ -2,12 +2,6 @@ server {
listen 8080 default_server;
listen [::]:8080 default_server;
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php-fpm.sock;
}
root /var/www/openmediacenter;
index index.html;
@ -18,4 +12,10 @@ server {
location / {
try_files $uri /index.html;
}
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php-fpm.sock;
}
}

View File

@ -63,7 +63,7 @@
]
},
"proxy": "http://192.168.0.209",
"homepage": "./",
"homepage": "/",
"eslintConfig": {
"extends": [
"react-app",