Fixing wrong URL arguments
This commit is contained in:
parent
3432ea5e23
commit
4cee0048f5
@ -53,7 +53,7 @@ export class ConnectionManager {
|
||||
|
||||
const session = new Session(nanoid());
|
||||
|
||||
const query = new URL(req.url).searchParams;
|
||||
const query = new URL(req.url, "http://localhost").searchParams;
|
||||
|
||||
const database = query.get("database");
|
||||
const db = DatabaseManager.getDatabase(database);
|
||||
|
Reference in New Issue
Block a user