res.header("Access-Control-Allow-Origin", "*");
res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept, Authorization, Refresh");
res.header('Access-Control-Allow-Methods', 'GET,PUT,POST,PATCH,DELETE');
res.header("Access-Control-Allow-Credentials", "true");
ng build --prod -d /dist/
- сложит весь билд в папку public/dist
public/uploads
не удалитсяng build --base-href=/dist
h1
color: $main-color
font-family: 'Titillium Web', sans-serif
font-size: 94px
font-weight: bold
line-height: 0.75
var products = [5,7,9];
return db.query("UPDATE products SET deleted = true WHERE id IN(" + products + ");");