Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'indexOf' of undefined on Fastboot #21

Closed
josemarluedke opened this issue Jun 17, 2016 · 1 comment · Fixed by #23
Closed

Cannot read property 'indexOf' of undefined on Fastboot #21

josemarluedke opened this issue Jun 17, 2016 · 1 comment · Fixed by #23
Labels

Comments

@josemarluedke
Copy link
Contributor

josemarluedke commented Jun 17, 2016

Hey there!

I was just trying this with the latest ember FastBoot (beta.4) and I get the following error:

TypeError: Cannot read property 'indexOf' of undefined at /Users/josemarluedke/Projects/myapp/dist/fastboot/vendor.js:75400:31 at /Users/josemarluedke/Projects/myapp/dist/fastboot/vendor.js:107107:80 at ....

The error points to this line: https://github.com/simplabs/ember-cookies/blob/e4b7cec51da57bd00986f658170e99b6d02d7239/addon/services/cookies.js#L129

Note, version used of ember-cookies was 0.0.7.

@marcoow marcoow added the bug label Jun 20, 2016
@marcoow marcoow mentioned this issue Jun 20, 2016
@marcoow
Copy link
Member

marcoow commented Jun 20, 2016

It looks like the request's hostname property has been renamed to host in FastBoot - #23 will fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants