localias add frontend.local 5173 # you can now access https://frontend.local and it will resolve to your local service listening on 5173.
But it seems like apple locked down the mdns capability behind a paywall? https://github.com/peterldowns/localias/issues/40#issuecomment-2630197849
https://developer.apple.com/forums/thread/663271
Any workaround/alternatives?