Remove Komodo backend in favor of native hosts
This commit is contained in:
@@ -10,7 +10,7 @@ async function setup() {
|
||||
const host = hosts.createHost({ name: 'Observation host' });
|
||||
hosts.enrollHost(hosts.createEnrollment(host.id).token, { protocolVersion: 1 });
|
||||
const { db } = await import('../../src/lib/server/db/index.js');
|
||||
db().prepare("INSERT INTO servers(name,komodo_name) VALUES('test','')").run();
|
||||
db().prepare("INSERT INTO servers(name) VALUES('test')").run();
|
||||
db().prepare(`INSERT INTO native_instances(id,server,host_id,library_id,image,port,created_at)
|
||||
VALUES('instance','test',?,'library','image',28960,?)`).run(host.id, new Date().toISOString());
|
||||
const native = await import('../../src/lib/server/backends/native.js');
|
||||
|
||||
Reference in New Issue
Block a user