t
tRPC
O
tRPC
•
3y ago
•
28 replies
oscaramaッ
trpc cors
my sveltekit app is running on
https://example.com
with tRPC and it
's making requests to
http://127.0.01:3001/api/trpc
(otherwise it won
't work
) but I
'm getting a CORS error
(
' The Same Origin Policy disallows reading the remote resource at
http://127.0.0.1:3001/api/trpc/model.getAll?batch=1&input=%7B%7D
.
(Reason
: CORS header
‘Access
-Control
-Allow
-Origin
’ missing
)
'
)
. how can I fix this
?
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
tRPC CORS error
A
Answer Overflow / ❓-help
15mo ago
tRPC Cors Authentication Error
R
Rhys / ❓-help
4y ago
Getting CORS error with tRPC express adapter, locally
R
rhh4x0R / ❓-help
16mo ago
cors
F
Fenix / ❓-help
3y ago