-
Notifications
You must be signed in to change notification settings - Fork 551
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
fix: Wrong event URL is being shared #1862
Conversation
@@ -33,7 +33,7 @@ object EventUtils { | |||
|
|||
private val timeFormat: DateTimeFormatter = DateTimeFormatter.ofPattern("hh:mm a") | |||
private val dateFormat: DateTimeFormatter = DateTimeFormatter.ofPattern("dd MMM yyyy") | |||
private const val frontendUrl = "https://open-event-frontend-dev.herokuapp.com/e/" | |||
private const val frontendUrl = "https://eventyay.com/e/" |
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.
Make this a build config
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.
Updated
app/build.gradle
Outdated
buildConfigField "String", "MAPBOX_KEY", '"'+MAPBOX_KEY+'"' | ||
buildConfigField "String", "STRIPE_API_KEY", '"'+STRIPE_API_TOKEN+'"' | ||
} | ||
debug { | ||
buildConfigField "String", "DEFAULT_BASE_URL", '"https://open-event-api-dev.herokuapp.com/v1/"' | ||
buildConfigField "String", "FRONTEND_URL", '"https://open-event-fe.netlify.com/e/"' |
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.
It's fossasia.github.io/open-event-frontend
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.
I take it from the frontend documentation. Will update it. 👍
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.
Done
app/build.gradle
Outdated
@@ -37,11 +37,13 @@ android { | |||
minifyEnabled true | |||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' | |||
buildConfigField "String", "DEFAULT_BASE_URL", '"https://api.eventyay.com/v1/"' | |||
buildConfigField "String", "FRONTEND_URL", '"https://eventyay.com/e/"' |
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.
e/ shouldn't be there
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.
Removed
Build is failing |
Build successful. |
Fixes #1832