Fixing wrong URL arguments

This commit is contained in:
Fabian Stamm 2019-11-14 17:37:10 +01:00
parent 3432ea5e23
commit 4cee0048f5

View File

@ -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);