mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Check for unix:// instead of unix:
This commit is contained in:
@@ -422,8 +422,8 @@ async function connectToUnixServer(
|
||||
let connectionOptions;
|
||||
if (unix.startsWith("unix:")) {
|
||||
unix = unescapeUnixSocketUrl(unix);
|
||||
if (unix.startsWith("unix:")) {
|
||||
unix = unix.substring("unix:".length);
|
||||
if (unix.startsWith("unix://")) {
|
||||
unix = unix.substring("unix://".length);
|
||||
}
|
||||
connectionOptions = { unix };
|
||||
} else if (unix.startsWith("tcp:")) {
|
||||
|
||||
Reference in New Issue
Block a user