mirror of
https://github.com/trailbaseio/trailbase.git
synced 2026-01-06 09:50:10 -06:00
Fix API routing in admin dashboard, simplify JS/TS client APIs and publish v0.4.0.
This commit is contained in:
@@ -9,7 +9,7 @@ import { list } from "../src/list.ts";
|
||||
import { subscribe, subscribeAll } from "../src/subscribe.ts";
|
||||
|
||||
async function connect(): Promise<Client> {
|
||||
const client = new Client("http://localhost:4000");
|
||||
const client = Client.init("http://localhost:4000");
|
||||
await client.login("admin@localhost", "secret");
|
||||
return client;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user