diff --git a/src/JobsJobsJobs/Api/Api.fsproj b/src/JobsJobsJobs/Api/Api.fsproj index c9f6dd6..b6cb185 100644 --- a/src/JobsJobsJobs/Api/Api.fsproj +++ b/src/JobsJobsJobs/Api/Api.fsproj @@ -2,7 +2,7 @@ Exe - net5.0 + net6.0 3390;$(WarnOn) diff --git a/src/JobsJobsJobs/Api/Auth.fs b/src/JobsJobsJobs/Api/Auth.fs index b430ff3..4ce6218 100644 --- a/src/JobsJobsJobs/Api/Auth.fs +++ b/src/JobsJobsJobs/Api/Auth.fs @@ -29,7 +29,10 @@ open System.Text.Json open JobsJobsJobs.Domain.SharedTypes /// HTTP client to use to communication with Mastodon -let private http = new HttpClient() +let private http = + let h = new HttpClient () + h.Timeout <- TimeSpan.FromSeconds 30. + h /// Verify the authorization code with Mastodon and get the user's profile let verifyWithMastodon (authCode : string) (inst : MastodonInstance) rtnHost (log : ILogger) = task { diff --git a/src/JobsJobsJobs/App/package.json b/src/JobsJobsJobs/App/package.json index 549b379..add5ede 100644 --- a/src/JobsJobsJobs/App/package.json +++ b/src/JobsJobsJobs/App/package.json @@ -7,7 +7,7 @@ "build": "vue-cli-service build", "lint": "vue-cli-service lint", "apiserve": "vue-cli-service build && cd ../Api && dotnet run -c Debug", - "publish": "vue-cli-service build --modern && cd ../Api && dotnet publish -c Release -r linux-x64 --self-contained false" + "publish": "vue-cli-service build --modern && cd ../Api && dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true --self-contained false" }, "dependencies": { "@mdi/js": "^5.9.55", diff --git a/src/JobsJobsJobs/Domain/Domain.fsproj b/src/JobsJobsJobs/Domain/Domain.fsproj index dbac946..caeb399 100644 --- a/src/JobsJobsJobs/Domain/Domain.fsproj +++ b/src/JobsJobsJobs/Domain/Domain.fsproj @@ -1,7 +1,7 @@  - net5.0 + net6.0 true 3390;$(WarnOn)