Skip to content

Commit

Permalink
Remove outdated, accidentally-copied reference to PRS from code comment
Browse files Browse the repository at this point in the history
(cherry picked from commit f692270)
  • Loading branch information
mharding-hpe committed Nov 5, 2024
1 parent c76f7c3 commit b54ba69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bos/server/controllers/utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# MIT License
#
# (C) Copyright 2019, 2021-2022 Hewlett Packard Enterprise Development LP
# (C) Copyright 2019, 2021-2022, 2024 Hewlett Packard Enterprise Development LP
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
Expand Down Expand Up @@ -35,7 +35,7 @@ def url_for(endpoint, **values):
"""Calculate the URL for an endpoint
This wraps flask.url_for. flask.url_for doesn't generate the path that we
need when PRS is running on a path behind a proxy. For example, if the app
need when BOS is running on a path behind a proxy. For example, if the app
is proxied on `/apis/bos` and the client made a request like
`/apis/bos/v1`, flask.url_for('repositories') would return
`/v1/repositories` which wouldn't be valid because it's missing the path
Expand Down

0 comments on commit b54ba69

Please sign in to comment.