Skip to content

Commit ca45841

Browse files
committed
Update
1 parent d0ab336 commit ca45841

File tree

7 files changed

+8
-10
lines changed

7 files changed

+8
-10
lines changed

.github/workflows/coding-service-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
######
22+
#######
2323
build-push:
2424
runs-on: ubuntu-latest
2525

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ concurrency:
1616

1717

1818
jobs:
19-
######
19+
#######
2020
build-push:
2121
runs-on: ubuntu-latest
2222
strategy:

.github/workflows/file-service-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ concurrency:
1919
cancel-in-progress: true
2020

2121
jobs:
22-
######
22+
#######
2323
build-push:
2424
runs-on: ubuntu-latest
2525

FileService/.idea/.idea.FileService/.idea/workspace.xml

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

FileService/FileService.Api/appsettings.Staging.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,6 @@
1313
"FfmpegSettings": {
1414
"ExecutablePath": "Tools/ffmpeg"
1515
},
16-
"FfmpegConfig": {
17-
"WorkDir": "/tmp/ffmpeg",
18-
"SegmentDuration": 4,
19-
"PlaylistName": "master.m3u8"
20-
},
2116
"AppSettings": {
2217
"AllCharacters": "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._@+/ ",
2318
"OTP": {

FileService/FileService.Api/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"Microsoft.AspNetCore": "Warning"
66
}
77
},
8-
"AllowedHosts": "*",
8+
"AllowedHosts": "*"
99
}

FileService/FileService.Service/Implementation/MinioService.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ public Task<string> GetPublicFileUrlAsync(string objectName)
149149
if (string.IsNullOrWhiteSpace(objectName))
150150
throw new ArgumentException("Invalid object name", nameof(objectName));
151151

152+
objectName = objectName.TrimStart('/');
152153
var key = Uri.EscapeDataString(objectName);
153154

154155
// Nếu có PublicEndpoint thì dùng nó làm base (có thể gồm scheme + path), KHÔNG thêm :port

0 commit comments

Comments
 (0)