- Le immagini uploadate non vengono visualizzate subito... cache... aggiungere la versione dell'immagine: vers_img

- Aggiunto il Server TESTRISO e TEST_PCB.
This commit is contained in:
Surya Paolo
2024-09-17 17:38:47 +02:00
parent dcc2a0ec08
commit 9985793fcc
39 changed files with 1259 additions and 162 deletions

View File

@@ -16,6 +16,7 @@ mongoose.plugin(schema => {
const myCard = new Schema(
{
imagefile: String,
vers_img: Number,
alt: String,
description: String,
style: String,
@@ -169,6 +170,9 @@ const MyElemSchema = new Schema({
image: {
type: String,
},
vers_img: {
type: Number,
},
listcards: [myCard],
catalogo: catalogo,
list: [
@@ -176,6 +180,9 @@ const MyElemSchema = new Schema({
imagefile: {
type: String
},
vers_img: {
type: Number,
},
order: {
type: Number
},