Render you app even before the DDP connection is live. - magic?
MIT License
560
stars
80
forks
source link
error on fast-rendering path: /comments?clientName=TestClient&clientId=y3wwYtCwCF4KGXKgQ&threadUrl=http:/localhost/&userEmail=&userAvatar= ; error: ReferenceError: URL is not defined #121
In the waitOn function in the route is the following line:
var clientOrigin = new URL(threadUrl).origin;
which generates this error:
error on fast-rendering path: /comments?clientName=TestClient&clientId=y3wwYtCwCF4KGXKgQ&threadUrl=http:/localhost/&userEmail=&userAvatar= ; error: ReferenceError: URL is not defined
URL is a Javascript function; is that not allowed?
In the waitOn function in the route is the following line:
var clientOrigin = new URL(threadUrl).origin;
which generates this error:
error on fast-rendering path: /comments?clientName=TestClient&clientId=y3wwYtCwCF4KGXKgQ&threadUrl=http:/localhost/&userEmail=&userAvatar= ; error: ReferenceError: URL is not defined
URL is a Javascript function; is that not allowed?
Thanks!