Skip to content

Chapter 8 Cross Origin error #8

@newschapmj1

Description

@newschapmj1

I am using the book with Angular 7 so I appreciate this may be out of support.
(I am automatically upgrading the code for each chapter).

Thank you for providing the code for each Chapter (unlike some alternative videos/books) this makes a real difference if you get stuck in one chapter.

I get the following error in Chapter 8.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3500/products

I get the same problem in Firefox 63 and Chrome 70, on Windows 10

Any suggestions? I think I need to change the REST server to send a header but I do not know the details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions