study 2 mesi fa
parent
commit
6d6dcf7364
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      .env.preview
  2. 1 1
      deploy/nginx.conf

+ 1 - 1
.env.preview

@@ -1,3 +1,3 @@
 NODE_ENV=production
 VUE_APP_PREVIEW=true
-VUE_APP_API_BASE_URL=/manager/
+VUE_APP_API_BASE_URL=/

+ 1 - 1
deploy/nginx.conf

@@ -13,7 +13,7 @@ server {
     include /etc/nginx/mime.types;
 
     location / {
-        try_files $uri $uri/ /index.html;
+        try_files $uri $uri/ /index.html  =404;
     }
 
 #    location /api {