Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(logo): api upload to allow svg #1729

Merged
merged 5 commits into from
Dec 13, 2024
Merged

feat(logo): api upload to allow svg #1729

merged 5 commits into from
Dec 13, 2024

Conversation

purusott
Copy link
Collaborator

After: can upload svgs and files with size less than 10mb (svg img uploaded below)

  • image

@purusott purusott requested a review from emilielr as a code owner November 12, 2024 08:45
Copy link
Collaborator

@emilielr emilielr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Må være litt forsiktig med tanke på sikkerhet osv med denne PRen. Kanskje det er greiest om man dropper å kunne laste opp SVG? 🤔

tavla/next.config.js Show resolved Hide resolved
tavla/next.config.js Outdated Show resolved Hide resolved
.gitignore Show resolved Hide resolved
tavla/package.json Show resolved Hide resolved
tavla/app/api/upload/route.ts Outdated Show resolved Hide resolved
tavla/app/api/upload/route.ts Show resolved Hide resolved
tavla/app/(admin)/utils/index.ts Outdated Show resolved Hide resolved
@purusott purusott changed the title chore(config): allow svg and increase body size feat(logo): api logo upload Dec 12, 2024
@purusott purusott changed the title feat(logo): api logo upload feat(logo): api upload Dec 12, 2024
@emilielr emilielr changed the title feat(logo): api upload feat(logo): api upload to allow svg Dec 12, 2024
Copy link
Collaborator

@emilielr emilielr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@purusott purusott merged commit b3fae0d into main Dec 13, 2024
3 checks passed
@purusott purusott deleted the file-upload branch December 13, 2024 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants