Open copyliu opened 3 years ago
@copyliu this is actually fairly easy to accomplish! You should make the pull requests for this and make the mod team's life easy here.
You can see default / existing env configs defined here: https://github.com/eveseat/eveapi/blob/79698f36714d8ac4d4587b1cee2ed84a90c4701a/src/Config/esi.php#L42
And you can pull that into your code with:
config('esi.eseye_sso_port')
:)
as https://github.com/eveseat/seat/issues/800#issuecomment-819816460
Everything else should be configurable in the .env file
hard-coded URL was find in https://github.com/eveseat/services/blob/master/src/Socialite/EveOnline/Provider.php#L60 https://github.com/eveseat/eveapi/blob/master/src/Commands/Seat/Tokens/Upgrade.php#L73 https://github.com/eveseat/eseye/blob/master/tests/Fetchers/GuzzleFetcherTest.php#L221
For a Serenity instance, it's good to make them configurable via
.env
fileEVE_SSO_HOST
also hard-coded URL https://github.com/eveseat/services/blob/master/src/Image/Eve.php#L72 it's good to make them configurable too