JuaniS
JuaniS
Explore posts from servers
TTCTheo's Typesafe Cult
Created by JuaniS on 10/22/2023 in #questions
Couldn't find any `pages` or `app` directory
No description
4 replies
TTCTheo's Typesafe Cult
Created by anthony on 7/10/2023 in #questions
[Next.js App Router] Dynamic segment 404 on Vercel, but not local production build
Following the next-intl config it should't be needed if you translate form the client side, which was the one that I was using and I still had this problem. So i dont think this is the problem
12 replies
TTCTheo's Typesafe Cult
Created by anthony on 7/10/2023 in #questions
[Next.js App Router] Dynamic segment 404 on Vercel, but not local production build
I removed it and it started working perfectly
12 replies
TTCTheo's Typesafe Cult
Created by anthony on 7/10/2023 in #questions
[Next.js App Router] Dynamic segment 404 on Vercel, but not local production build
12 replies
TTCTheo's Typesafe Cult
Created by anthony on 7/10/2023 in #questions
[Next.js App Router] Dynamic segment 404 on Vercel, but not local production build
It seems like it was a problem with next-intl
12 replies
TTCTheo's Typesafe Cult
Created by Coded_58 on 7/11/2023 in #questions
Testing and Debugging Next.js13 apps for production
If you deploy on vercel you can install axiom integretion to see more metrics and error logs about your prod application. It came really handy for me to debug prod problems
4 replies
TTCTheo's Typesafe Cult
Created by anthony on 7/10/2023 in #questions
[Next.js App Router] Dynamic segment 404 on Vercel, but not local production build
12 replies
TTCTheo's Typesafe Cult
Created by funky_monk5239 on 6/30/2023 in #questions
t3 react clerk oath callback
did you find a solution? Something similar is happening to me
3 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 7/8/2023 in #questions
Next api routes stoped working since clerk installed
8 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 7/8/2023 in #questions
Next api routes stoped working since clerk installed
8 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 7/8/2023 in #questions
Next api routes stoped working since clerk installed
and next js with app directory
8 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 7/8/2023 in #questions
Next api routes stoped working since clerk installed
im using clerk/next version 4.21.12
8 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 7/8/2023 in #questions
Next api routes stoped working since clerk installed
its the same that in the docs
8 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 7/8/2023 in #questions
Next api routes stoped working since clerk installed
This is my middleware
import { authMiddleware } from '@clerk/nextjs';

import createMiddleware from 'next-intl/middleware';

const intlMiddleware = createMiddleware({
locales: ['en', 'el'],

defaultLocale: 'en'
});

export default authMiddleware({
beforeAuth: (req) => {
return intlMiddleware(req);
},

publicRoutes: ['/', '/:locale/sign-in']
});

export const config = {
matcher: ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)']
};
import { authMiddleware } from '@clerk/nextjs';

import createMiddleware from 'next-intl/middleware';

const intlMiddleware = createMiddleware({
locales: ['en', 'el'],

defaultLocale: 'en'
});

export default authMiddleware({
beforeAuth: (req) => {
return intlMiddleware(req);
},

publicRoutes: ['/', '/:locale/sign-in']
});

export const config = {
matcher: ['/((?!.*\\..*|_next).*)', '/', '/(api|trpc)(.*)']
};
8 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 6/1/2023 in #questions
Is it possible to generate a github action to build a preview of a pull request in nextjs?
Indeed
6 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 4/14/2023 in #questions
how to extend clerk's users metadata
oh true, for some reason I could auto import it. Thanks!
9 replies
TTCTheo's Typesafe Cult
Created by JuaniS on 4/14/2023 in #questions
how to extend clerk's users metadata
is there a type for extending the next js req type for the clerk webhook events? In the docs there is one example where it import the type from the node sdk
9 replies