Multi instance #26

Merged
danieljsummers merged 4 commits from multi-instance into main 2021-09-07 01:20:51 +00:00
3 changed files with 1 additions and 13 deletions
Showing only changes of commit 45795d03a8 - Show all commits

View File

@ -566,11 +566,3 @@ module Success =
.OrderBy(r.Desc "recordedOn") .OrderBy(r.Desc "recordedOn")
.RunResultAsync<StoryEntry list> .RunResultAsync<StoryEntry list>
|> withReconn conn |> 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');
})
*)

View File

@ -1,8 +1,4 @@
{ {
"Rethink": {
"Hostname": "data02.bitbadger.solutions",
"Db": "jobsjobsjobs-dev"
},
"Auth": { "Auth": {
"ReturnHost": "http://localhost:5000", "ReturnHost": "http://localhost:5000",
"Instances": { "Instances": {

View File

@ -26,7 +26,7 @@ import {
* @param url The partial URL for the API * @param url The partial URL for the API
* @returns A full 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 * Create request init parameters