[PR #1166] [CLOSED] the absolute publicPath breaks a koel-sub directory installation #1616

Closed
opened 2026-02-26 03:31:41 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/1166
Author: @fieteboerner
Created: 1/7/2020
Status: Closed

Base: masterHead: patch-1


📝 Commits (1)

  • 60f095a the absolute publicPath breaks a koel-sub directory installation

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 webpack.mix.js (+1 -1)

📄 Description

In a sub directory installation https://mydomain/koel/ the asset-path ist absolute, so the resources cannot be loaded.

koel-assets-broken

After removing the first slash in the webpack-config of the public-path and recompilation the assets are loading great now.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/koel/koel/pull/1166 **Author:** [@fieteboerner](https://github.com/fieteboerner) **Created:** 1/7/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`60f095a`](https://github.com/koel/koel/commit/60f095a0c373b70e498fe02c89e38e1b28749521) the absolute publicPath breaks a koel-sub directory installation ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `webpack.mix.js` (+1 -1) </details> ### 📄 Description In a sub directory installation `https://mydomain/koel/` the asset-path ist absolute, so the resources cannot be loaded. ![koel-assets-broken](https://user-images.githubusercontent.com/8209685/71887434-5e6a9c80-313e-11ea-961d-3167f95e558b.png) After removing the first slash in the webpack-config of the public-path and recompilation the assets are loading great now. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:31:41 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#1616
No description provided.