We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5fcf240 commit b75d0e2Copy full SHA for b75d0e2
server/src/models/Trainee.ts
@@ -177,7 +177,7 @@ export const getDisplayName = (trainee: Trainee): string => {
177
178
export const getProfileURL = (trainee: Trainee): string => {
179
const normalizedName = removeAccents(getDisplayName(trainee).toLowerCase()).replaceAll(/\s/g, '-');
180
- return `${process.env.BASE_URL}/trainee/${normalizedName}_${trainee.id}`;
+ return `/trainee/${normalizedName}_${trainee.id}`;
181
};
182
183
// Validations
0 commit comments