mirror of
https://github.com/rikkaneko/paste.git
synced 2025-06-06 16:45:41 +00:00
Fix bug
This commit is contained in:
parent
bd26de1a67
commit
5a8697d3b8
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ export default {
|
|||
let read_limit: number | undefined;
|
||||
let need_qrcode: boolean = false;
|
||||
// Content-Type: multipart/form-data
|
||||
if (content_type.includes('form')) {
|
||||
if (content_type.includes('multipart/form-data')) {
|
||||
const formdata = await request.formData();
|
||||
const data = formdata.get('u');
|
||||
if (data === null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue