Comments (3)
I just executed the following in the docker container and visiting index2.html works okay and plays music - even though the code is in a subdirectory.
/var/www/html # sed -e 's#"/#"#g' <index.html >index2.html
The resulting index2.html file is:
<!DOCTYPE html><html lang="en"><head data-build="80a2f4b186594fb156a3e69906554ddc54e03930"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta http-equiv="Content-Security-Policy" content="default-src 'none'; connect-src *; img-src *; media-src *; manifest-src 'self'; style-src 'self' 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=' 'sha256-624gmqlO23N0g1Ru4tkjuaPEoL/hXP4w7tUqel4WM98=' 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=' 'sha256-5uOIRR03mYcVoiexgzGGALQ0p1Babe2XxbeIl9t1UpA=' 'sha256-lM8P08IzH0mbT5Tvlm1F5BY3h0gPsb0qNpnZW9YHc7A='; script-src 'self'; base-uri 'self';"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000"><link rel="icon" href="icon.svg"><link rel="manifest" href="manifest.webmanifest"><script src="env.js"></script><title>Airsonic (refix)</title><link href="css/app.193c0949.css" rel="preload" as="style"><link href="css/chunk-vendors.66cdc8be.css" rel="preload" as="style"><link href="js/app.ac9269bb.js" rel="preload" as="script"><link href="js/chunk-vendors.7e50d4ad.js" rel="preload" as="script"><link href="css/chunk-vendors.66cdc8be.css" rel="stylesheet"><link href="css/app.193c0949.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but this application doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.7e50d4ad.js"></script><script src="js/app.ac9269bb.js"></script></body></html>
from airsonic-refix.
It looks like the pseudo-URLs generated with the History API would need some adjustment too, as they're generated in a root directory of the server.
from airsonic-refix.
You will need to build the application with the base path to make this fully work. See #30
from airsonic-refix.
Related Issues (20)
- Podcasts with long descriptions don't display length or Actions menu HOT 4
- Play All and Shuffle All buttons on artist page draw on the "top tracks", not all tracks
- Play All/Play Random/Add All buttons missing from views that aren't album/artist
- EOL Vue 2 on December 31st, 2023.
- [Feature request] Request Download Podcast From Server HOT 1
- [Feature request] Remember position of podcast
- vue 3 update?
- Airsonic-refix Gonic HOT 5
- Folder selection is not available
- Collection by Folder
- Is it possible to bypass the login page and just pass the auth as basic auth?
- [BUG] Cannot destructure property 'id' of 't.getters.player/track' as it is undefined.
- Feature Request Navigate A-Z artists by first letter
- Feature request: Allow re-ordering of "Playing" queue
- [Feature Request] Configure Maximum number of songs/artists/albums to return in search HOT 1
- Does not display album or song photo
- Can you make a view that doesn't have any images? HOT 7
- error on empty playlist -- suppress/eliminate/acknowledge? HOT 5
- Demo is broken .... HOT 1
- [Feature] Legacy authentication (for authentication against Lightweight Music Server) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airsonic-refix.