正在加载视频...

视频加载失败

Server Actions create public endpoints, so be sure to secure them like you would API routes.

83,592 次观看 • 1 年前 •via X (Twitter)

10 条评论

Dobroslav Radosavljevič 的头像
Dobroslav Radosavljevič1 年前

This is one of the things most developers don't know I think. They don't see the line between client and server. When Server Actions were introduced in Next.js, a lot of devs made a big mistake and got leaked server code or got abused by hackers because they didn't even know this.

Max Greenwald 的头像
Max Greenwald1 年前

Server actions are an unnecessary addition to the React API surface area. I won't be using them.

Naif Alotaibi 的头像
Naif Alotaibi1 年前

useless feature i guess nextjs created because they dont have product ideas😂😂😂😂😂😂😂

Amit Wani 的头像
Amit Wani1 年前

I think there are useless?

Remy Jouni 的头像
Remy Jouni1 年前

What is the best way to secure an API route?

Alex Sidorenko 的头像
Alex Sidorenko1 年前

auth

Aardvark Erickson 的头像
Aardvark Erickson1 年前

Wish they were executed at a known path, and not current route. Kinda makes middleware useless for them.

Edu BL 的头像
Edu BL1 年前

A feature that I don't see it using it at the moment considering that I could use nestjs, fastapi, etc

M. Adel 的头像
M. Adel1 年前

would a middleware, e.g. supabase, solve this issue?

Jaehyu Lee 的头像
Jaehyu Lee1 年前

How do I find that endpoint ?

相关视频

I sure like the way you think would you be my girlfriend?
1:23

Sensitive content

I sure like the way you think would you be my girlfriend?

Sebastian™

36,458 次观看 • 8 个月前