Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make cf routes hyperlinks use https instead of http #33

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ export class ApplicationService {
return nonTCPRoutes[0] || null;
}),
map(entRoute => !!entRoute && !!entRoute && !!entRoute.domain ?
getRoute(entRoute.port, entRoute.host, entRoute.path, true, false, entRoute.domain.name) :
getRoute(entRoute.port, entRoute.host, entRoute.path, true, true, entRoute.domain.name) :
null
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export abstract class CfRoutesDataSourceBase extends CFListDataSource<APIResourc
}
const entity: ListCfRoute = {
...route.entity,
url: getRoute(route.entity.port, route.entity.host, route.entity.path, true, false, route.entity.domain.entity.name),
url: getRoute(route.entity.port, route.entity.host, route.entity.path, true, true, route.entity.domain.entity.name),
isTCPRoute: isTCPRoute(route.entity.port)
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class TableCellRouteComponent extends TableCellCustom<APIResource<ListCfR
const route = this.row.entity;
if (route) {
this.isRouteTCP = isTCPRoute(route.port);
this.routeUrl = getRoute(route.port, route.host, route.path, !this.isRouteTCP, false, route.domain.entity.name);
this.routeUrl = getRoute(route.port, route.host, route.path, !this.isRouteTCP, true, route.domain.entity.name);
}
}
}