mirror of
https://github.com/koel/koel.git
synced 2026-04-25 16:56:02 +03:00
[PR #1706] [MERGED] fix(frontend): Fix the base URL supplied to the frontend #1851
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#1851
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/koel/koel/pull/1706
Author: @kondratovbr
Created: 9/22/2023
Status: ✅ Merged
Merged: 9/22/2023
Merged by: @phanan
Base:
master← Head:master📝 Commits (2)
a7c5586Fix the base URL supplied to the frontend8bea390Ensure the base URL ends with slash📊 Changes
2 files changed (+8 additions, -2 deletions)
View changed files
📝
app/Helpers.php(+6 -0)📝
resources/views/base.blade.php(+2 -2)📄 Description
I've encountered an issue when running behind a reverse proxy. Proxy terminates SSL correctly and provides correct
X-Forwardedheaders, but URLs generated for the frontend aren'thttps, so it tries to call the API viahttpwhich browsers explicitly forbid and throw an error along the lines of...was not allowed to display insecure content from http://...This PR fixes the
BASE_URLexplicitly used in Vue and the URL in<base>tag which may be used implicitly.Now the "non-working"
APP_URLENV value actually does something.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.