Skip to content

Commit 9a091c5

Browse files
authored
Fix the server issue
1 parent 81f9980 commit 9a091c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { authMiddleware } from "@clerk/nextjs";
44
// Please edit this to allow other routes to be public as needed.
55
// See https://clerk.com/docs/references/nextjs/auth-middleware for more information about configuring your middleware
66
export default authMiddleware({
7-
publicRoutes: ["/api/uploadthing"],
7+
publicRoutes: ["/api/uploadthing", "/api/socket/io"],
88
});
99

1010
export const config = {

0 commit comments

Comments
 (0)