Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds tallysmartins to cors origins #40

Merged
merged 2 commits into from Aug 1, 2018

Conversation

tallysmartins
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Jul 26, 2018

Coverage Status

Coverage remained the same at 83.173% when pulling 056240d on tallysmartins:cors into 34eee07 on elixir-bench:master.

@@ -30,7 +30,7 @@ defmodule ElixirBenchWeb.Endpoint do

plug Corsica,
max_age: 600,
origins: [~r/localhost:\d+$/, ~r/elixirbench.org$/],
origins: [~r/localhost:\d+$/, ~r/elixirbench.org$/, ~r/tallysmartins.github.io$/],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't we be able to fix this by just making the other version the default one? Or are you looking at this for testing? If we're talking testing, we probably wanna configure per environment as we wouldn't wanna test production and atest/staging environment at the same time I guess

@PragTob
Copy link
Member

PragTob commented Jul 27, 2018

mic format failed please fix :)

Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
Signed-off-by: Tallys Martins <tallysmartins@gmail.com>
@PragTob PragTob merged commit 993d459 into elixir-bench:master Aug 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants