[fix] properly get app settings + add pattern for domain