mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-30 23:23:39 +01:00
fixes for standard configs
This commit is contained in:
parent
fd23cca840
commit
5b136685db
6 changed files with 8 additions and 88 deletions
|
|
@ -199,6 +199,8 @@ namespace MareSynchronosServer.Hubs
|
|||
UploadFileRequest req = new();
|
||||
req.FileData = ByteString.CopyFrom(await File.ReadAllBytesAsync(tempFileName).ConfigureAwait(false));
|
||||
File.Delete(tempFileName);
|
||||
req.Hash = computedHashString;
|
||||
req.Uploader = AuthenticatedUserId;
|
||||
_ = await _fileServiceClient.UploadFileAsync(req).ConfigureAwait(false);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
"DbContextPoolSize": 2000,
|
||||
"CdnFullUrl": "https://<url or ip to your server>/cache/",
|
||||
"ServiceAddress": "http://localhost:5002",
|
||||
"StaticFileServiceAddress": "http://localhost:5001"
|
||||
"StaticFileServiceAddress": "http://localhost:5003"
|
||||
},
|
||||
"AllowedHosts": "*",
|
||||
"Kestrel": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue