Skip to content

OPTIONS requests sent only #73

@jorr

Description

@jorr

Hi there,

I can't seem to make JSNLog work and maybe I'm missing something obvious.
I have an Angular 5 front-end and a separate API server backend in Django.
I have basically followed the instructions here: http://jsnlog.com/Documentation/HowTo/Angular2Logging
and used JL.setOptions with defaultAjaxUrl pointing to my django API endpoint. I just wanted to check what's being sent.

I then throw an error somewhere on my UI interactions to see whats going on.
But all that happens is my endpoint being hit with an endless stream of OPTIONS xhr requests. No POST is ever sent and the OPTIONS are unceasing either.

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions