WeSearch

mkdev: trusted HTTPS for localhost, mapped by name

·3 min read · 0 reactions · 0 comments · 8 views
#webdev#devtools#https
mkdev: trusted HTTPS for localhost, mapped by name
⚡ TL;DR · AI summary

mkdev is a tool designed to provide trusted HTTPS for localhost by mapping it to a name. It simplifies the process of using HTTPS in development environments, allowing developers to avoid common issues associated with plain HTTP. The tool integrates with the system's trust store and enables easy sharing of local routes over the LAN.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3910004) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Venkatakrishna S Posted on May 25 mkdev: trusted HTTPS for localhost, mapped by name #go #webdev #devtools #cli Plain HTTP on localhost breaks things. OAuth callbacks want https://, Secure cookies won't set, service workers won't register, and some SDKs just assume TLS. Self-signed certs get you back to the "Proceed (unsafe)" click.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)