mkdev: trusted HTTPS for localhost, mapped by name
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.
- ▪mkdev generates a local CA and installs it into the system trust store for secure HTTPS connections.
- ▪It allows developers to map a route to a name, enabling trusted HTTPS without modifying their existing development servers.
- ▪The tool supports sharing routes over the LAN, making it easier to test applications on mobile devices.
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).