-
Notifications
You must be signed in to change notification settings - Fork 353
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
Use custom flavor endpoints #5294
Conversation
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.
Reviewed 6 of 6 files at r1, 1 of 1 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @albin-mullvad)
android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/di/ApiEndpointModule.kt
line 13 at r1 (raw file):
single { if (BuildConfig.FLAVOR_infrastructure != "prod") { CustomApiEndpointConfiguration(BuildConfig.API_ENDPOINT, 443)
Just to make sure since this is a bit of a magic number:
Should we switch this number to either a build config or a defined constant? I guess this might be useful in the future.
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.
Reviewed all commit messages.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @albin-mullvad)
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.
Reviewable status: 5 of 7 files reviewed, all discussions resolved (waiting on @Pururun)
android/service/src/main/kotlin/net/mullvad/mullvadvpn/service/di/ApiEndpointModule.kt
line 13 at r1 (raw file):
Previously, Pururun (Jonatan Rhodin) wrote…
Just to make sure since this is a bit of a magic number:
Should we switch this number to either a build config or a defined constant? I guess this might be useful in the future.
Add a constant!
added* 😆 |
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.
Reviewed 2 of 2 files at r3, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
acdbaa3
to
55099af
Compare
This PR aims to use custom flavor endpoints for development and testing.
This change is