eclipse-thingweb / eclipse-thingweb/test-things

CORS Errors from localhost

Open
#56 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Testing a client from the browser in localhost does not work for HTTP express and flask Things. I get `Access to fetch at 'http://plugfest.thingweb.io/http-express-calculator-simple/properties/result' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.`

The client is the nodewot browser bundle

There is no issue with data schema thing

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.