Setup Cross-Origin Resource Sharing (CORS)

Here it’s going into an environment variable, which can only be a string. Doesn’t matter.

But in general this is a good thing to keep in mind since you can get unexpected results for innocuous-looking values:

pry(main)> YAML.load('on: yes').to_s
=> "{true=>true}"
1 Like