Multi instance #26
@ -566,11 +566,3 @@ module Success =
|
||||
.OrderBy(r.Desc "recordedOn")
|
||||
.RunResultAsync<StoryEntry list>
|
||||
|> 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');
|
||||
})
|
||||
|
||||
*)
|
||||
|
@ -1,8 +1,4 @@
|
||||
{
|
||||
"Rethink": {
|
||||
"Hostname": "data02.bitbadger.solutions",
|
||||
"Db": "jobsjobsjobs-dev"
|
||||
},
|
||||
"Auth": {
|
||||
"ReturnHost": "http://localhost:5000",
|
||||
"Instances": {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user