Skip to content
Snippets Groups Projects
Commit 92413a29 authored by Rafael László's avatar Rafael László :speech_balloon:
Browse files

update gitignore and readme for static files

parent 4ab2b3a5
No related branches found
No related tags found
3 merge requests!24Auth, Profile, News, Entry Card, File management,!21update feature/news_api branch,!19Profile and Entry Card
Pipeline #5423 passed
# Schönherz BodyKör webpage backend
## Initial Setup
uploads/card_images and uploads/profile_pictures folder
needed for file uploads!
## Recommended Extensions
VSCode:
......
......@@ -3,7 +3,7 @@ import path from "path";
export const profilePictureStorage = multer.diskStorage({
destination: function (req, file, callback) {
callback(null, "uploads/profile_picture/");
callback(null, "uploads/profile_pictures/");
},
filename: function (req, file, callback) {
callback(null, Date.now() + "-" + file.originalname);
......
/*
!/card_images/
!/profile_pictures/
!/.gitignore
\ No newline at end of file
/*
!/.gitignore
\ No newline at end of file
/*
!/.gitignore
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment