This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$resource does not obey port numbers in URLs #1664
Closed
Description
Following code fails because browser makes query to http://198.61.201.6/api/v1-dev/trackers
, using standard http port 80, completely ignoring specified port.
I tested this on versions 1.0.2, 1.0.3, 1.1.0 and 1.1.1, same behavior in every case.
var Tracker = $resource('http://198.61.201.6:8000/api/v1-dev/trackers');
$scope.fetchTrackers = function() {
this.trackers = Tracker.get();
};
Metadata
Metadata
Assignees
Labels
No labels