Remove unused variables.
Rollback to the previous way the app was working to allow origins.