Skip to content

Commit 58e9002

Browse files
committed
fix(versioning): bump app version and update leaderboard flag
Increase the major version from 34.0 to 35.0 to force all clients to update with the latest release. Change the leaderboard feature flag check from 'true' to 'test' to refine access control logic for staff and feature flag evaluation.
1 parent e56cbef commit 58e9002

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/services/feature-flags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default class FeatureFlagsService extends Service {
1919
}
2020

2121
get shouldSeeLeaderboard(): boolean {
22-
return this.currentUser?.isStaff || this.getFeatureFlagValue('should-see-leaderboard') === 'true';
22+
return this.currentUser?.isStaff || this.getFeatureFlagValue('should-see-leaderboard') === 'test';
2323
}
2424

2525
getFeatureFlagValue(flagName: string): string | null | undefined {

config/environment.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = function (environment) {
4949

5050
// Update the major version number to force all clients to update.
5151
// The minor version doesn't do anything at the moment, might use in the future.
52-
version: `34.0.${process.env.VERCEL_GIT_COMMIT_SHA?.slice(0, 7) || 'dev'}`,
52+
version: `35.0.${process.env.VERCEL_GIT_COMMIT_SHA?.slice(0, 7) || 'dev'}`,
5353
},
5454
fastboot: {
5555
hostWhitelist: [/^localhost:\d+$/],

0 commit comments

Comments
 (0)