Skip to content
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
@jsyrjala

Description

@jsyrjala

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions