Closed qifeng-bai closed 2 years ago
Lists-test.ala has allowed CORS, most requests from Ajax work. However, https://lists-test.ala.org.au/ws/speciesListItems/dr18463?max=1 report the above CORS error.
After removing withCredentials: true return $http.get(this.url() + "/ws/speciesListItems/" + listId, _httpDescription('items', { params: params //withCredentials: true }))
return $http.get(this.url() + "/ws/speciesListItems/" + listId, _httpDescription('items', { params: params //withCredentials: true }))
The link works.
withCredential has been used many places. This error only appears on Lists-test
The truth is still out there - X Files
Fixed by updating Nginx policy in Lists-test.ala
Lists-test.ala has allowed CORS, most requests from Ajax work. However, https://lists-test.ala.org.au/ws/speciesListItems/dr18463?max=1 report the above CORS error.
After removing withCredentials: true
return $http.get(this.url() + "/ws/speciesListItems/" + listId, _httpDescription('items', { params: params //withCredentials: true }))
The link works.
withCredential has been used many places. This error only appears on Lists-test
The truth is still out there - X Files
Fixed by updating Nginx policy in Lists-test.ala