add local upload provider
This commit is contained in:
parent
14dfa8dc37
commit
89e7148bd4
3 changed files with 12 additions and 2 deletions
|
|
@ -1,5 +1,13 @@
|
|||
import type { Core } from '@strapi/strapi';
|
||||
import type { Core } from "@strapi/strapi";
|
||||
|
||||
const config = ({ env }: Core.Config.Shared.ConfigParams): Core.Config.Plugin => ({});
|
||||
const config = ({
|
||||
env,
|
||||
}: Core.Config.Shared.ConfigParams): Core.Config.Plugin => ({
|
||||
upload: {
|
||||
config: {
|
||||
provider: "local",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
export default config;
|
||||
|
|
|
|||
1
package-lock.json
generated
1
package-lock.json
generated
|
|
@ -10,6 +10,7 @@
|
|||
"dependencies": {
|
||||
"@strapi/plugin-cloud": "5.47.1",
|
||||
"@strapi/plugin-users-permissions": "5.47.1",
|
||||
"@strapi/provider-upload-local": "^5.47.1",
|
||||
"@strapi/strapi": "5.47.1",
|
||||
"better-sqlite3": "^12.10.0",
|
||||
"pg": "8.20.0",
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
"dependencies": {
|
||||
"@strapi/plugin-cloud": "5.47.1",
|
||||
"@strapi/plugin-users-permissions": "5.47.1",
|
||||
"@strapi/provider-upload-local": "^5.47.1",
|
||||
"@strapi/strapi": "5.47.1",
|
||||
"better-sqlite3": "^12.10.0",
|
||||
"pg": "8.20.0",
|
||||
|
|
|
|||
Loading…
Reference in a new issue