lindell / lindell/remote-function

CORS not Supported

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
100
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hello. I'm trying to do RPC from the browser to a localhost node.js server. However, I get an error that it's inaccessible due to CORS:

> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://127.0.0.1:6356/. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)

Is this not supported by remote-function or is there a way to configure this to work? Thank you.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the browser RPC request against the localhost Node.js server and tracing how the remote-function server handles HTTP responses. Determine whether configurable CORS support is intended; done means browser calls succeed without the reported missing Access-Control-Allow-Origin error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.