study před 2 měsíci
rodič
revize
6d6dcf7364
2 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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 {