Adds real time media libraries scan progress update via SignalR

This commit is contained in:
BinaryAlley committed 2025-02-22 17:45:09 +02:00
1 parent d70b2dcaa0
commit e0d61802df
71 files changed
+1292 -131

No files matched your search

+21
View File
@@ -1,3 +1,24 @@
## General Setup
In the `appsettings.json` file from the **API server** app, make sure there is an entry looking like this:
```json
"CorsSettings": {
"AllowedOrigins": [
"http://localhost:5012"
]
}
```
where the `AllowedOrigins` section includes the address set in the `Kestrel` section of the `appsettings.json` filefrom the **Web Client** app:
```json
"Kestrel": {
"Endpoints": {
"Http": {
"Url": "http://localhost:5012"
}
}
}
```
The above values are the defaults of Lumina, but you can change them to whatever host and port you desire, as long as they are both the same, in both files. Failing to do so will result in SignalR not being able to make a connection between the client app and the server API.
## Reverse Proxy Setup
### Rate Limiting Headers
The application uses IP-based rate limiting on some endpoints. When deploying behind a reverse proxy, you must forward the