正在加载视频...

视频加载失败

HTTPS localhost with Next.js

460,124 次观看 • 1 年前 •via X (Twitter)

9 条评论

Chi.dfkm 的头像
Chi.dfkm1 年前

What are possible use cases for HTTPS on localhost?

Alex Sidorenko 的头像
Alex Sidorenko1 年前

I remember I needed this a while ago. Some 3rd party API required https Here is a more comprehensive list

Rahul 👨🏽‍💻 的头像
Rahul 👨🏽‍💻1 年前

Nice one! Some cases where HTTPS on localhost might be needed: - Testing secure cookies - Web APIs like geolocation, payment etc - Web Crypto API requiring secure contexts - Third party APIs requiring secure connections - Fixing mixed content issues Share if you know more.

Barzi Ahmed 的头像
Barzi Ahmed1 年前

Two questions. 1. How did this feature achieved and implemented? 2. What are the benefits of using https for localhost?

Alex Sidorenko 的头像
Alex Sidorenko1 年前

@mpsurfate 1. I don't know 2. http is usually fine, but you may need https for certain things (some 3rd party APIs may require it)

Lékan 的头像
Lékan1 年前

Why would I possibly need this ?

Rubi 的头像
Rubi1 年前

HTTPS localhost with Next.JS (better version)

Neeraj 的头像
Neeraj1 年前

Love the terminal! Is it Warp?

Alex Sidorenko 的头像
Alex Sidorenko1 年前

Yep

相关视频