Resolving adresses with .localhost TLD in macOS

خرید بک لینک

When developing a web app locally I like to use addresses like app.localhost:8080 to access them. They work fine in Chrome but not in Safari. I guess this is because Chrome has special handling for the TLD and Safari uses the OS DNS resolver. Is there a way to make macOS resolve all .localhost addresses to 127.0.0.1?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 377 تاريخ: پنجشنبه 31 تير 1395 ساعت: 17:11

صفحه بندی