@tus/server and next.js

See original GitHub issue

I 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:closed
  • Created 9 months ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
toddgeistcommented, Dec 14, 2022

Ah, I didn’t understand the naming function. That makes sense. I’ll get that into the PR.

Thanks 😃

0reactions
toddgeistcommented, Dec 14, 2022
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found