Skip to content

Commit

Permalink
attempt to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cmayeux05 committed Oct 20, 2024
1 parent 14fddaf commit 4a0233a
Show file tree
Hide file tree
Showing 5 changed files with 20,981 additions and 1,852 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ RUN PUBLIC_URL=/client yarn build

FROM node:14 as server-build
WORKDIR /usr/src/app
RUN npm install strapi-plugin-upload
COPY ./server/package.json .
COPY ./server/yarn.lock .
RUN yarn install
Expand Down
8 changes: 8 additions & 0 deletions server/config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ module.exports = () => ({
defaultReplyTo: 'no-reply@casmm.org',
},
},
upload: {
config: {
provider: 'local',
providerOptions: {
//sizeLimit: 1000000, // Set the size limit for uploads (in bytes)
},
},
},
sentry: {
dsn: process.env.SENTRY_DNS || '',
integrations: [new Sentry.Integrations.Http({ tracing: true })],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "10/18/2024 9:29:42 PM"
"x-generation-date": "10/20/2024 6:34:20 PM"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down
Loading

0 comments on commit 4a0233a

Please sign in to comment.