@tus/server and next.js
See original GitHub issueI have been trying to get Tus Server to work with Next.js api routes. So far, I haven’t had any luck. My latest attempt seems to get close. It creates a file on the disk, and sends patch requests to the server that is received with a 204 response, but nothing appears in the file. It just keeps trying the patch over and over again.
I created a repo that has it set up the way I think it should work. It has the server attached at /api/upload
, and Uppy Dashboard at /
https://github.com/toddgeist/next-tus
Is there some configuration I missed?
Thank you
Issue Analytics
- State:
- Created 9 months ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Advanced Features: Output File Tracing - Next.js
Next.js automatically traces which files are needed by each page to allow for easy deployment of your application. Learn how it works here....
Read more >tus/tus-node-server: Node.js tus server - GitHub
tus is a protocol based on HTTP for resumable file uploads. Resumable means that an upload can be interrupted at any moment and...
Read more >tus-node-server - npm
Node.js tus server. Latest version: 0.9.0, last published: a month ago. Start using tus-node-server in your project by running `npm i ...
Read more >Implementations - Tus.io
tus-js-client ... A stand-alone server or express middleware written in node.js to handle resumable file uploads ... ckaratzas/tus-server-implementation.
Read more >Next.js - Convex Developer Hub
js is a React web development framework. When used with Convex, Next.js provides: File-system based routing; API routes; Fast refresh in development; Font...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ah, I didn’t understand the naming function. That makes sense. I’ll get that into the PR.
Thanks 😃
PR - https://github.com/tus/tus-node-server/pull/364