mirror of
https://github.com/koel/koel.git
synced 2026-04-25 08:46:00 +03:00
[PR #673] [MERGED] add support for non root installations #1315
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#1315
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/673
Author: @fieteboerner
Created: 10/25/2017
Status: ✅ Merged
Merged: 10/26/2017
Merged by: @phanan
Base:
master← Head:subdir-improved📝 Commits (4)
3baef17remove all absolute forward slashes to make relative urls6e3b6ebset global baseUrl in common blade template38d86d0fix absolute url paths in scss218f736rename baseUrl to BASE_URL📊 Changes
21 files changed (+34 additions, -30 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(+1 -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)📝
resources/views/client-js-vars.blade.php(+2 -1)📝
resources/views/index.blade.php(+1 -0)...and 1 more files
📄 Description
this is an improvement of #671
All absolute paths were replaced with relative ones. The base url is set by Laravel in
client-js-vars.blade.php. In API calls the base url is used instead of the root url.With these changes it is possible to use the koel server also in a sub folder of a web server.
These changes are working fine. I hope this can be used so other people can use this functionality. #529
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.