mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-20 08:48:35 +00:00
Compare commits
4 Commits
d67ab20834
...
10226ea8f0
Author | SHA1 | Date | |
---|---|---|---|
10226ea8f0 | |||
a24992a3db | |||
d584067bb1 | |||
ef8811f5cc |
@ -143,6 +143,7 @@ You can access Perplexica over your home network by following our networking gui
|
|||||||
|
|
||||||
## One-Click Deployment
|
## One-Click Deployment
|
||||||
|
|
||||||
|
[](https://usw.sealos.io/?openapp=system-template%3FtemplateName%3Dperplexica)
|
||||||
[](https://repocloud.io/details/?app_id=267)
|
[](https://repocloud.io/details/?app_id=267)
|
||||||
|
|
||||||
## Upcoming Features
|
## Upcoming Features
|
||||||
|
@ -75,6 +75,13 @@ router.post(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const files = req.files['files'] as Express.Multer.File[];
|
const files = req.files['files'] as Express.Multer.File[];
|
||||||
|
|
||||||
|
files.forEach((file) => {
|
||||||
|
file.originalname = Buffer.from(file.originalname, 'latin1').toString(
|
||||||
|
'utf8',
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
if (!files || files.length === 0) {
|
if (!files || files.length === 0) {
|
||||||
res.status(400).json({ message: 'No files uploaded' });
|
res.status(400).json({ message: 'No files uploaded' });
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user