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
<FromGitter> <sam0x17> so I'm getting a 403 error when I deploy in production mode, but everything works fine if I deploy in development mode -- why might that be?
<FromGitter> <sam0x17> hah, nevermind, CORS again
<FromGitter> <sam0x17> I need to put a giant poster that says "CORS" on it on my wall or something. That and "is it plugged in?"
<FromGitter> <sam0x17> new question: how to configure allowed domains for CORS in amber?
<FromGitter> <drujensen> Hi Sam, you can find the `pipe` in https://github.com/amberframework/amber/blob/master/src/amber/pipes/cors.cr#L29
<FromGitter> <drujensen> Looks like you can pass in the origin on initialize
<FromGitter> <drujensen> The initialization of the pipes in in the pipelines created in `./config/routes.cr`
<FromGitter> <otremblay_gitlab> @drujensen I was running `amber w`