mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-09-18 15:21:33 +00:00
Compare commits
9 Commits
develop/v1
...
70230d2967
Author | SHA1 | Date | |
---|---|---|---|
|
70230d2967 | ||
|
89b5229ce9 | ||
|
7756340dd9 | ||
|
bbd2e9c359 | ||
|
a32eb1dda3 | ||
|
aa834f7f04 | ||
|
064c0fbe42 | ||
|
bf4cf8eaeb | ||
|
4134770586 |
17
README.md
17
README.md
@@ -1,7 +1,22 @@
|
|||||||
# 🚀 Perplexica - An AI-powered search engine 🔎 <!-- omit in toc -->
|
# 🚀 Perplexica - An AI-powered search engine 🔎 <!-- omit in toc -->
|
||||||
|
|
||||||
[](https://discord.gg/26aArMy8tT)
|
<div align="center" markdown="1">
|
||||||
|
<sup>Special thanks to:</sup>
|
||||||
|
<br>
|
||||||
|
<br>
|
||||||
|
<a href="https://www.warp.dev/perplexica">
|
||||||
|
<img alt="Warp sponsorship" width="400" src="https://github.com/user-attachments/assets/775dd593-9b5f-40f1-bf48-479faff4c27b">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
### [Warp, the AI Devtool that lives in your terminal](https://www.warp.dev/perplexica)
|
||||||
|
|
||||||
|
[Available for MacOS, Linux, & Windows](https://www.warp.dev/perplexica)
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr/>
|
||||||
|
|
||||||
|
[](https://discord.gg/26aArMy8tT)
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
@@ -75,6 +75,12 @@ router.post(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const files = req.files['files'] as Express.Multer.File[];
|
const files = req.files['files'] as Express.Multer.File[];
|
||||||
|
// Fixed the garbled issue of non-ASCII character filenames.
|
||||||
|
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