Only serve static content if a folder is defined