Open kaminskypavel opened 1 year ago
Which browser? I can't reproduce this on Chrome on MacOS.
Tried it on brave/firefox/edge
On win 11
For me this is working on brave (windows 11). Maybe try installing trpc-playground@latest
.
I've had the same issue for around a year now, I have to disable cors using a plugin for Firefox.
It would seem that the CDN does not accept localhost as pre-flight.
I'm guessing the maintainer uses a specific port for TRPC playground?
A better alternative instead of using a risky CDN is to just host the files inside the npm package. Better version control then @sachinraja
For an alternative we are using https://github.com/iway1/trpc-panel which is npm hosted internally.
using it with express@4.
getting errors in multiple browsers