mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix client stream import
This commit is contained in:
@@ -77,7 +77,8 @@ export class Connection {
|
||||
if (typeof url === 'object') {
|
||||
self._stream = url;
|
||||
} else {
|
||||
const { ClientStream } = require("meteor/socket-stream-client");
|
||||
import { ClientStream } from "meteor/socket-stream-client";
|
||||
|
||||
self._stream = new ClientStream(url, {
|
||||
retry: options.retry,
|
||||
ConnectionError: DDP.ConnectionError,
|
||||
|
||||
Reference in New Issue
Block a user