03efc48137
* Make authentication part of the server, so it can be reused outside the Native API This commit has broken tests after a rebase * Serve frontend assets from `server`, and not from Native API * Change Native API URL * Fix auth tests * Refactor server authentication * Simplify authProvider, now subsonic token+salt comes from the server * Don't send JWT token to UI when authenticated via Request Header * Enable ReverseProxyWhitelist to be read from environment
6 lines
125 B
JavaScript
6 lines
125 B
JavaScript
export const REST_URL = '/api'
|
|
|
|
export const M3U_MIME_TYPE = 'audio/x-mpegurl'
|
|
|
|
export const AUTO_THEME_ID = 'AUTO_THEME_ID'
|