Skip to content

Commit

Permalink
Fix login to GeoServer with https protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
index-git authored and jirik committed Nov 9, 2023
1 parent cbe2a26 commit 4c3ba07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## v1.22.2
{release-date}
### Changes
- [#956](https://github.com/LayerManager/layman/issues/956) Fix login to GeoServer with https protocol.
- [#952](https://github.com/LayerManager/layman/issues/952) Fix patch saving publication files before access right validation.

## v1.22.1
Expand Down
2 changes: 1 addition & 1 deletion src/layman_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class EnumWfsWmsStatus(Enum):

LAYMAN_PUBLIC_URL_SCHEME = urlparse(LAYMAN_CLIENT_PUBLIC_URL).scheme
LAYMAN_GS_PROXY_BASE_URL = urljoin(f'{LAYMAN_PUBLIC_URL_SCHEME}://{LAYMAN_PROXY_SERVER_NAME}', LAYMAN_GS_PATH)
LAYMAN_GS_PROXY_BASE_URL_WITH_PLACEHOLDERS = f'${{X-Forwarded-Proto}}://${{X-Forwarded-Host}}${{X-Forwarded-Path}}{LAYMAN_GS_PATH}'
LAYMAN_GS_PROXY_BASE_URL_WITH_PLACEHOLDERS = f'${{X-Forwarded-Proto}}://${{X-Forwarded-Host}}${{X-Forwarded-Path}}{LAYMAN_GS_PATH} {LAYMAN_GS_PROXY_BASE_URL}'

CSW_URL = os.getenv('CSW_URL', None)
CSW_PROXY_URL = os.getenv('CSW_PROXY_URL', None)
Expand Down

0 comments on commit 4c3ba07

Please sign in to comment.