Hello all, I have cloned the swagger-ui Git repo and started a server using *npm run dev*. It is running on local port 3200.
In older versions of swagger-ui, I could type a file:// URL into the "Explore" field and load a .yaml file from my local filesystem, to explore the UI of my under-development service running on the same machine. However, this version of swagger-ui complains that: Fetch errorFailed to fetch file://C/TcDev/products/ucm/src/swagger/ucm-dataserver.yaml Fetch errorPossible cross-origin (CORS) issue? The URL origin (file://) does not match the page (http://localhost:3200). Check the server returns the correct 'Access-Control-Allow-*' headers. Any idea how I might get around this problem? I'm not sure which "server" would have to return the CORS headers, since it's just a file://. Thank you, Joe Knapka -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.