-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Conversation
Companion PR: badges/ServerScript#1. |
doc/self-hosting.md
Outdated
Set the `FRONTEND_REDIRECT_URI` environment variable: | ||
|
||
```sh | ||
FRONTEND_REDIRECT_URI=http://my-custom-shields.s3.amazonaws.com/ |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, thank you!
Alternate to #1260 for #1259.