mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
improvement: moved public folder outside src
This commit is contained in:
@@ -52,7 +52,7 @@ const handlMedia = async (msg, ticket) => {
|
||||
}
|
||||
|
||||
fs.writeFile(
|
||||
path.join(__dirname, "..", "public", media.filename),
|
||||
path.join(__dirname, "..", "..", "public", media.filename),
|
||||
media.data,
|
||||
"base64",
|
||||
err => {
|
||||
|
||||
Reference in New Issue
Block a user