Only allowing other origins for data if debugging