[PR #671] [CLOSED] add support for non root installations #1314

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

📋 Pull Request Information

Original PR: https://github.com/koel/koel/pull/671
Author: @fieteboerner
Created: 10/19/2017
Status: Closed

Base: masterHead: subdir


📝 Commits (3)

  • 8af0133 add support for subfolder installation
  • 1dd528c include icons in scss instead of using absolute paths
  • 24905d4 fix bars icon path

📊 Changes

18 files changed (+35 additions, -29 deletions)

View changed files

📝 resources/assets/js/components/auth/login-form.vue (+1 -1)
📝 resources/assets/js/components/main-wrapper/extra/album-info.vue (+1 -1)
📝 resources/assets/js/components/main-wrapper/main-content/album.vue (+1 -1)
📝 resources/assets/js/components/main-wrapper/main-content/profile.vue (+1 -1)
📝 resources/assets/js/components/main-wrapper/sidebar/index.vue (+8 -8)
📝 resources/assets/js/components/main-wrapper/sidebar/playlist-item.vue (+1 -1)
📝 resources/assets/js/components/shared/album-item.vue (+2 -2)
📝 resources/assets/js/components/shared/artist-item.vue (+1 -1)
📝 resources/assets/js/components/shared/home-song-item.vue (+1 -1)
📝 resources/assets/js/components/shared/sound-bar.vue (+6 -1)
📝 resources/assets/js/components/shared/track-list-item.vue (+1 -1)
📝 resources/assets/js/components/site-footer/index.vue (+4 -4)
📝 resources/assets/js/components/site-header/user-badge.vue (+1 -1)
📝 resources/assets/js/router.js (+2 -1)
📝 resources/assets/js/services/download.js (+1 -1)
📝 resources/assets/js/services/http.js (+1 -1)
📝 resources/assets/js/services/socket.js (+1 -1)
📝 resources/assets/js/stores/song.js (+1 -1)

📄 Description

With these changes you can use the koel server in a document root or in a subfolder. #529

This is possible by using realtive urls and using the document.location.pathname variable.


🔄 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/671 **Author:** [@fieteboerner](https://github.com/fieteboerner) **Created:** 10/19/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `subdir` --- ### 📝 Commits (3) - [`8af0133`](https://github.com/koel/koel/commit/8af01338729c322102f7a4ec74db6c04ec36f8ee) add support for subfolder installation - [`1dd528c`](https://github.com/koel/koel/commit/1dd528ce5546e61dfabcfc83b56210f3e0edd548) include icons in scss instead of using absolute paths - [`24905d4`](https://github.com/koel/koel/commit/24905d40c967979420b80906664674ccb5085876) fix bars icon path ### 📊 Changes **18 files changed** (+35 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `resources/assets/js/components/auth/login-form.vue` (+1 -1) 📝 `resources/assets/js/components/main-wrapper/extra/album-info.vue` (+1 -1) 📝 `resources/assets/js/components/main-wrapper/main-content/album.vue` (+1 -1) 📝 `resources/assets/js/components/main-wrapper/main-content/profile.vue` (+1 -1) 📝 `resources/assets/js/components/main-wrapper/sidebar/index.vue` (+8 -8) 📝 `resources/assets/js/components/main-wrapper/sidebar/playlist-item.vue` (+1 -1) 📝 `resources/assets/js/components/shared/album-item.vue` (+2 -2) 📝 `resources/assets/js/components/shared/artist-item.vue` (+1 -1) 📝 `resources/assets/js/components/shared/home-song-item.vue` (+1 -1) 📝 `resources/assets/js/components/shared/sound-bar.vue` (+6 -1) 📝 `resources/assets/js/components/shared/track-list-item.vue` (+1 -1) 📝 `resources/assets/js/components/site-footer/index.vue` (+4 -4) 📝 `resources/assets/js/components/site-header/user-badge.vue` (+1 -1) 📝 `resources/assets/js/router.js` (+2 -1) 📝 `resources/assets/js/services/download.js` (+1 -1) 📝 `resources/assets/js/services/http.js` (+1 -1) 📝 `resources/assets/js/services/socket.js` (+1 -1) 📝 `resources/assets/js/stores/song.js` (+1 -1) </details> ### 📄 Description With these changes you can use the koel server in a document root or in a subfolder. #529 This is possible by using realtive urls and using the `document.location.pathname` variable. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 03:30:33 +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#1314
No description provided.