A music player that connects to your cloud/distributed storage.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Improve CORS info

+13 -5
+1
CHANGELOG.md
··· 4 4 5 5 - Adds ability to download a playlist as a zip file 6 6 - Fixes dark styles for add-to-playlist overlay 7 + - Improves CORS information a little bit 7 8 - No longer scrolls track list to the top when moving things in a playlist or when processing tracks 8 9 - Switches key bindings for arrow up and down 9 10
+12 -5
src/Static/About/About.md
··· 88 88 Add the domain of the app, with the protocol, to the __list of allowed origins__. 89 89 90 90 ```shell 91 - btfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["https://diffuse.sh"]' 91 + btfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["https://diffuse.sh", "http://127.0.0.1:8080", "http://127.0.0.1:44999"]' 92 92 ``` 93 93 94 94 You can also make this change in the Web UI, you'll find it under "Settings → BTFS Config". ··· 98 98 "API": { 99 99 "HTTPHeaders": { 100 100 "Access-Control-Allow-Origin": [ 101 - "https://diffuse.sh" 101 + "https://diffuse.sh", 102 + "http://127.0.0.1:8080", 103 + "http://127.0.0.1:44999" 102 104 ] 103 105 } 104 106 } ··· 124 126 Add the domain of the app, with the protocol, to the __list of allowed origins__. 125 127 126 128 ```shell 127 - ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["https://diffuse.sh"]' 129 + ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["https://diffuse.sh", "http://127.0.0.1:8080", "http://127.0.0.1:44999"]' 128 130 ``` 129 131 130 132 You can also make this change in the Web UI, you'll find it under "Settings → IPFS Config". ··· 134 136 "API": { 135 137 "HTTPHeaders": { 136 138 "Access-Control-Allow-Origin": [ 137 - "https://diffuse.sh" 139 + "https://diffuse.sh", 140 + "http://127.0.0.1:8080", 141 + "http://127.0.0.1:44999" 138 142 ] 139 143 } 140 144 } ··· 167 171 "API": { 168 172 "HTTPHeaders": { 169 173 "Access-Control-Allow-Origin": [ 170 - "https://diffuse.sh" 174 + "https://diffuse.sh", 175 + "http://127.0.0.1:8080", 176 + "http://127.0.0.1:44999" 171 177 ] 172 178 } 173 179 } ··· 197 203 - PROPFIND 198 204 allowed_hosts: 199 205 - https://diffuse.sh 206 + - http://127.0.0.1:44999 200 207 exposed_headers: 201 208 - Content-Length 202 209 - Content-Type