From 45795d03a828e1583dc2ea37193388896a75e4e9 Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Mon, 6 Sep 2021 21:18:22 -0400 Subject: [PATCH] Final tweaks for release --- src/JobsJobsJobs/Api/Data.fs | 8 -------- src/JobsJobsJobs/Api/appsettings.json | 4 ---- src/JobsJobsJobs/App/src/api/index.ts | 2 +- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/JobsJobsJobs/Api/Data.fs b/src/JobsJobsJobs/Api/Data.fs index 3ab7ec8..2d32f0b 100644 --- a/src/JobsJobsJobs/Api/Data.fs +++ b/src/JobsJobsJobs/Api/Data.fs @@ -566,11 +566,3 @@ module Success = .OrderBy(r.Desc "recordedOn") .RunResultAsync |> withReconn conn - -(* --- To replace naUser with mastodonUser for NAS -- -r.db('jobsjobsjobs').table('citizen').replace(function(it) { - return it.merge({ mastodonUser: it('naUser'), instance: 'nas' }).without('naUser'); -}) - -*) diff --git a/src/JobsJobsJobs/Api/appsettings.json b/src/JobsJobsJobs/Api/appsettings.json index 088157b..209fc02 100644 --- a/src/JobsJobsJobs/Api/appsettings.json +++ b/src/JobsJobsJobs/Api/appsettings.json @@ -1,8 +1,4 @@ { - "Rethink": { - "Hostname": "data02.bitbadger.solutions", - "Db": "jobsjobsjobs-dev" - }, "Auth": { "ReturnHost": "http://localhost:5000", "Instances": { diff --git a/src/JobsJobsJobs/App/src/api/index.ts b/src/JobsJobsJobs/App/src/api/index.ts index ee1971e..48ba69d 100644 --- a/src/JobsJobsJobs/App/src/api/index.ts +++ b/src/JobsJobsJobs/App/src/api/index.ts @@ -26,7 +26,7 @@ import { * @param url The partial URL for the API * @returns A full URL for the API */ -const apiUrl = (url : string) : string => `http://localhost:5000/api/${url}` +const apiUrl = (url : string) : string => `/api/${url}` /** * Create request init parameters