add regex to expose front public files.