faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
_whitelogger has joined #amber
_whitelogger has joined #amber
alexherbo2 has joined #amber
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #amber
alexherbo2 has quit [Client Quit]
alexherbo2 has joined #amber
alexherbo2_ has joined #amber
alexherbo2_ has quit [Client Quit]
alexherbo2_ has joined #amber
alexherbo2_ has quit [Client Quit]
alexherbo2_ has joined #amber
alexherbo2_ has quit [Client Quit]
alexherbo2_ has joined #amber
alexherbo2_ has quit [Client Quit]
alexherbo2_ has joined #amber
alexherbo2_ has quit [Client Quit]
alexherbo2_ has joined #amber
alexherbo2_ has quit [Ping timeout: 256 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
<FromGitter> <samholst> Hoping someone can help me out as I am not able to figure this out from looking at the source code or documentation on Amber. Current getting a `403` forbidden when requesting a `GET` URL from javascript on the frontend to the amber framework in the api pipeline. If I remove the cors it works, but I can't get it working with the CORS plug. I've tried this `plug Amber::Pipe::CORS.new(origins: ["*", %r(),
<FromGitter> ... "http://localhost:3000", "localhost:3000"])` but no luck. Any ideas?
<FromGitter> <drujensen> The CORS spec requires the origin header
<FromGitter> <drujensen> Add this to your request and you should be good to go
<FromGitter> <drujensen> Look at the CORS pipe in the amber source.