Skip to content

The SparkFun DataLogger does not send Access-Control-Allow-Origin headers #41

Description

@falkorichter

See “ The SparkFun DataLogger does not send Access-Control-Allow-Origin headers, so browsers block cross-origin file downloads. serve.py replaces python3 -m http.server by serving static files AND proxying requests with CORS headers added.”

In falkorichter/fork_Adafruit_CircuitPython_SSD1305#54 (comment)

If the logger would add the header, we would be able to read the logs from static html hosted sites as shown in the above pr.

“Access-Control-Allow-Origin: *” would be it

Documentation: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Access-Control-Allow-Origin

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions