make demo site work out of the box
This commit is contained in:
parent
e8b95e32ba
commit
d46ba950e7
@ -22,10 +22,9 @@ Modern responsive web frontend for [Airsonic](https://github.com/airsonic/airson
|
|||||||
|
|
||||||
https://airsonic.netlify.com
|
https://airsonic.netlify.com
|
||||||
|
|
||||||
Use address/credentials for your own Airsonic server, or use the subsonic.org demo server:
|
Password is `guest`.
|
||||||
- server: http://demo.subsonic.org
|
|
||||||
- username: guest1
|
You can use the URL and credentials for your own server if you prefer. **Note**: if your server is using http only you must allow mixed content in your browser otherwise login will not work.
|
||||||
- password guest
|
|
||||||
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
@ -1 +1,2 @@
|
|||||||
/* /index.html 200
|
/api/* http://demo.subsonic.org/:splat 200
|
||||||
|
/* /index.html 200
|
||||||
|
@ -8,8 +8,8 @@ export class AuthService {
|
|||||||
private authenticated: boolean = false;
|
private authenticated: boolean = false;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.server = localStorage.getItem("server") || "";
|
this.server = localStorage.getItem("server") || "/api";
|
||||||
this.username = localStorage.getItem("username") || "";
|
this.username = localStorage.getItem("username") || "guest1";
|
||||||
this.password = localStorage.getItem("password") || "";
|
this.password = localStorage.getItem("password") || "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user