Skip to content

Commit

Permalink
Set cache control
Browse files Browse the repository at this point in the history
  • Loading branch information
Equinox- committed Feb 1, 2024
1 parent 02da6f9 commit 6b0b7b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,14 @@ jobs:
path: Meds.Wrapper/bin/Release
destination: "meds-dist/${{github.ref}}/wrapper"
parent: false
headers: |-
cache-control: public, max-age=300, must-revalidate
- name: Upload Watchdog Release
uses: 'google-github-actions/upload-cloud-storage@v1'
if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && github.event_name != 'pull_request'
with:
path: Meds.Watchdog/bin/Release
destination: "meds-dist/${{github.ref}}/watchdog"
parent: false
headers: |-
cache-control: public, max-age=300, must-revalidate
2 changes: 1 addition & 1 deletion Meds.Watchdog/Utils/RtcFileSharing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ public async ValueTask Connect()
#pragma warning disable CS4014 // Because this call is not awaited, execution of the current method continues before the call is completed
SendMessage(new WsAddIceCandidate
{
Candidate = new RTCIceCandidateInit()
Candidate = new RTCIceCandidateInit
{
sdpMid = candidate.sdpMid ?? candidate.sdpMLineIndex.ToString(),
sdpMLineIndex = candidate.sdpMLineIndex,
Expand Down

0 comments on commit 6b0b7b2

Please sign in to comment.