forked from farhoodlabs/paperclip
fix(server): remove unreachable ?? fallback after conditional guard
This commit is contained in:
+1
-1
@@ -767,7 +767,7 @@ export async function startServer(): Promise<StartedServer> {
|
|||||||
server,
|
server,
|
||||||
host: config.host,
|
host: config.host,
|
||||||
listenPort,
|
listenPort,
|
||||||
apiUrl: process.env.PAPERCLIP_API_URL ?? `http://${runtimeApiHost}:${listenPort}`,
|
apiUrl: process.env.PAPERCLIP_API_URL!,
|
||||||
databaseUrl: activeDatabaseConnectionString,
|
databaseUrl: activeDatabaseConnectionString,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user