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

Redirect the root only when configured #1270

Merged
merged 2 commits into from
Nov 17, 2017
Merged

Redirect the root only when configured #1270

merged 2 commits into from
Nov 17, 2017

Conversation

paulmelnikow
Copy link
Member

@paulmelnikow paulmelnikow commented Nov 11, 2017

Alternate to #1260 for #1259.

@paulmelnikow paulmelnikow added developer-experience Dev tooling, test framework, and CI self-hosting Discussion, problems, features, and documentation related to self-hosting Shields labels Nov 11, 2017
@paulmelnikow paulmelnikow temporarily deployed to shields-staging-pr-1270 November 11, 2017 23:13 Inactive
@paulmelnikow
Copy link
Member Author

Companion PR: badges/ServerScript#1.

Set the `FRONTEND_REDIRECT_URI` environment variable:

```sh
FRONTEND_REDIRECT_URI=http://my-custom-shields.s3.amazonaws.com/
Copy link
Member

@platan platan Nov 16, 2017

Choose a reason for hiding this comment

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

In this file we have FRONTEND_REDIRECT_URI, but in lib/server-config.js, shields.example.env and badges/ServerScript#1 there is FRONTEND_REDIRECT_URL (URL instead of URI).
But it looks and works good for me.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, thank you!

@paulmelnikow paulmelnikow merged commit d91b904 into badges:master Nov 17, 2017
@paulmelnikow paulmelnikow deleted the infosite branch November 17, 2017 19:42
espadrine pushed a commit to badges/ServerScript that referenced this pull request Dec 3, 2017
@jcxldn jcxldn mentioned this pull request Dec 23, 2018
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer-experience Dev tooling, test framework, and CI self-hosting Discussion, problems, features, and documentation related to self-hosting Shields
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants