Irudiak erakusten ditu (#8)
* feat: atzealde irudia erakusten du * feat: cloudinary sartzen du * feat: kartela erakusten du * chore: typescript errorea ekiditen du * feat: irisgarritasuna hobetzen du * feat: modalaren estiloa hobetzendu * feat: og image aldatzen du
This commit is contained in:
16
back/config/env/production/plugins.js
vendored
Normal file
16
back/config/env/production/plugins.js
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = ({ env }) => ({
|
||||
upload: {
|
||||
config: {
|
||||
provider: "cloudinary",
|
||||
providerOptions: {
|
||||
cloud_name: env("CLOUDINARY_NAME"),
|
||||
api_key: env("CLOUDINARY_KEY"),
|
||||
api_secret: env("CLOUDINARY_SECRET"),
|
||||
},
|
||||
actionOptions: {
|
||||
upload: {},
|
||||
delete: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Binary file not shown.
BIN
back/database/migrations/images/uztailak-9-irudia.jpeg
Normal file
BIN
back/database/migrations/images/uztailak-9-irudia.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 211 KiB |
BIN
back/database/migrations/images/uztailak-9.jpeg
Normal file
BIN
back/database/migrations/images/uztailak-9.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 163 KiB |
@@ -13,6 +13,7 @@
|
||||
"@strapi/plugin-graphql": "^4.11.3",
|
||||
"@strapi/plugin-i18n": "4.11.3",
|
||||
"@strapi/plugin-users-permissions": "4.11.3",
|
||||
"@strapi/provider-upload-cloudinary": "^4.11.3",
|
||||
"@strapi/strapi": "4.11.3",
|
||||
"pg": "^8.11.1",
|
||||
"pg-connection-string": "^2.6.1",
|
||||
|
||||
@@ -14,6 +14,20 @@
|
||||
},
|
||||
"eguna": {
|
||||
"type": "date"
|
||||
},
|
||||
"atzealde_irudia": {
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"type": "media",
|
||||
"multiple": false
|
||||
},
|
||||
"kartela": {
|
||||
"allowedTypes": [
|
||||
"images"
|
||||
],
|
||||
"type": "media",
|
||||
"multiple": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user