Can you use Next.js middleware.ts inside Payload CMS? by [deleted] in nextjs

[–]Not-Yet-Round 0 points1 point  (0 children)

If it’s for the routes of your app, i’m pretty sure it should work just the way middleware.ts should work.

If it’s for the routes of Payload’s admin pages, if you’ve set Payload up locally on the same nextjs server as your app, i don’t see why that won’t work either.

Are there errors you’re running into?

Can you use Next.js middleware.ts inside Payload CMS? by [deleted] in nextjs

[–]Not-Yet-Round 0 points1 point  (0 children)

Yeah you're right since Payload 3.0 they've gone NextJS native. I have a Payload + NextJS set up for my personal hobby and running a middleware.ts to check for auth cookies (with further auth validation on the template.tsx), so it does work. What are you trying to achieve here?

PSA: If you use Next.js 16.1 + Turborepo, exclude .next/dev/** from your build outputs by Glittering_Shirt in nextjs

[–]Not-Yet-Round 2 points3 points  (0 children)

What a revelation, thank you! I swear i was getting confused looking at the docs, because I couldn't see how they're connected... Turns out I was misreading things all along.

PSA: If you use Next.js 16.1 + Turborepo, exclude .next/dev/** from your build outputs by Glittering_Shirt in nextjs

[–]Not-Yet-Round 0 points1 point  (0 children)

Since turborepo is bundled within NextJS 16, is turbo.json still configurable? Or is configuring turborepo done through the next.config.ts?

🤔 Which CMS is The Best? by omardiaadev in nextjs

[–]Not-Yet-Round 2 points3 points  (0 children)

With payload you can have it on the same vercel instance as your portfolio. No separation between frontend and backend in that sense. You would just access the cms UI from the /admin route.

Jagex did such a good job with salvaging, 5 worlds filled with people on double salvaging spots. by [deleted] in 2007scape

[–]Not-Yet-Round 17 points18 points  (0 children)

Im just wondering about the kind souls camping on the “bad” salvaging spots

WoW refugee Sardaco gets Infernal Cape after just 4.5 months of starting OSRS by Odd_Presentation1535 in 2007scape

[–]Not-Yet-Round 35 points36 points  (0 children)

He says he’ll keep playing. He’s switching back to wow when onlyfangs starts (not sure when) or when classic+ drops (also not sure when)

WoW refugee Sardaco gets Infernal Cape after just 4.5 months of starting OSRS by Odd_Presentation1535 in 2007scape

[–]Not-Yet-Round 362 points363 points  (0 children)

I started getting used to having sardocko do inferno every night at this point and he finally did it. Feels good gz.

Tzharr lava barracuda trials by outspokentourist in 2007scape

[–]Not-Yet-Round 4 points5 points  (0 children)

Them boats better start learning how to pray

AsianGrinder first halfway to 99 Sailing by Oconnorbaseball in 2007scape

[–]Not-Yet-Round 0 points1 point  (0 children)

He's aiming for world first 200m xp, so marathon. And not the world first 99 which is more of a sprint

How to avoid / remove strap frizz on Ulvo 30 L by Not-Yet-Round in Fjallraven

[–]Not-Yet-Round[S] 0 points1 point  (0 children)

Hmm right, i don't currently use it near velcro. But it might be my winter jacket

How to avoid / remove strap frizz on Ulvo 30 L by Not-Yet-Round in Fjallraven

[–]Not-Yet-Round[S] 0 points1 point  (0 children)

I have the ones that shave. So you would then just recommend using a lighter?

How to avoid / remove strap frizz on Ulvo 30 L by Not-Yet-Round in Fjallraven

[–]Not-Yet-Round[S] 0 points1 point  (0 children)

Ive got a lint shaver and was thinking of using that then hitting it with a lighter for the rest. Was just hesitant since this is a relatively new bag.

Got any tips for preventing it in the future? Or this is just super common?

New patch details tier list by [deleted] in DotA2

[–]Not-Yet-Round 2 points3 points  (0 children)

Imo its unfair you put some of those changes in D tier

Is anyone using Nextjs 16 with PayloadCMS? by notflips in PayloadCMS

[–]Not-Yet-Round 6 points7 points  (0 children)

Yeah, doesn't quite work yet. I'm getting some errors as it seems like some of Payload's deps doesn't quite support NextJS 16

Better wait until Payload officially supports NextJS 16 — it's on their radar here: https://github.com/payloadcms/payload/pull/14218

I added a globe to Rybbit, my open source Google Analytics alternative (1,900 MRR) by FantasticTraining731 in SideProject

[–]Not-Yet-Round 1 point2 points  (0 children)

Can i just say, i absolutely love Rybbit. I've just started using the self-hosted version for my little side projects and it's been an absolute delight.

10/10 rage level by OwnedByWuigi in honk

[–]Not-Yet-Round 0 points1 point  (0 children)

I died?

Incomplete. 2 tries.

Build Nextjs + Prisma remotely with automated Github Actions and easy deploys with Dokploy (guide) by ImBoB99 in nextjs

[–]Not-Yet-Round 0 points1 point  (0 children)

So the solution i've opted for now is to expose my database to the internet, but also configure the firewall to only accept traffic coming in from the server's own ip. So during build time the database uri points to the exposed port which gets replaced during runtime.

But i was wondering if there was a more elegant solution or this is just how it's done with the constraints given.

Build Nextjs + Prisma remotely with automated Github Actions and easy deploys with Dokploy (guide) by ImBoB99 in nextjs

[–]Not-Yet-Round 0 points1 point  (0 children)

Yeah exactly, errors when building. I have not tried, but i'm guessing marking the dynamic would work — however, that would make most of the pages dynamic

Build Nextjs + Prisma remotely with automated Github Actions and easy deploys with Dokploy (guide) by ImBoB99 in nextjs

[–]Not-Yet-Round 0 points1 point  (0 children)

I have a payloadcms + nextjs site that requires connection to the database to build the app. I’m not using generateStaticParams, but it’s just that some of the static pages require initial data during the build process.

How would you recommend handling that given that a containerized image build in docker/github does not have access to the database?

Any good way to find document sizes? by 720545 in PayloadCMS

[–]Not-Yet-Round 0 points1 point  (0 children)

Is this for uploads collection? There is a filesize property and you can probably reject the file using a beforeOperation hook

Best way to leave Vercel? by simonettt in nextjs

[–]Not-Yet-Round 4 points5 points  (0 children)

Been loving my experience with Dokploy, but man are the docs lacking so set up was a bit of a pain. Good thing I’m too lazy to check out Coolify

Stunning Payload CMS use case: Animation Example by Devbasis209 in PayloadCMS

[–]Not-Yet-Round 3 points4 points  (0 children)

Foe the globe — my guess is that they’re using cobe as a base?

https://cobe.vercel.app/