use / as default homepage in package.json
This commit is contained in:
parent
272c88ab50
commit
3e9cb7410f
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,7 @@
|
||||
]
|
||||
},
|
||||
"proxy": "http://192.168.0.209",
|
||||
"homepage": "./",
|
||||
"homepage": "/",
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"react-app",
|
||||
|
Loading…
Reference in New Issue
Block a user