Correction de la compilation?

This commit is contained in:
FyloZ 2021-05-01 23:14:02 -04:00
parent d9b3cfa3a1
commit 81743f2b44
2 changed files with 8 additions and 21 deletions

View File

@ -1,28 +1,15 @@
events {
worker_connections 1024;
}
worker_processes 4;
events { worker_connections 1024; }
http {
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
server {
include /etc/nginx/mime.types;
listen 80;
root /usr/bin/cre/dist/color-recipes-explorer-frontend;
index index.html;
root /usr/bin/cre/dist;
include /etc/nginx/mime.types;
location / {
try_files $uri$args $uri$args/ /index.html;
try_files $uri /index.html =404;
}
}
}

View File

@ -39,7 +39,7 @@
class="ml-3"
mat-raised-button
color="accent"
routerLink="/material/add">
routerLink="/catalog/material/add">
Ajouter
</button>
</div>
@ -119,7 +119,7 @@
<button
mat-raised-button
color="accent"
routerLink="/material/edit/{{material.id}}">
routerLink="/catalog/material/edit/{{material.id}}">
Modifier
</button>
</ng-container>