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