diff --git a/src/achievement/achievement.controller.ts b/src/achievement/achievement.controller.ts index 606e306..dec6546 100644 --- a/src/achievement/achievement.controller.ts +++ b/src/achievement/achievement.controller.ts @@ -7,7 +7,7 @@ import { Repository } from 'typeorm'; import { Character } from '../character/entities/character.entity'; import { BadRequestException } from '@nestjs/common'; -@Controller('api/achievements') +@Controller('achievements') export class AchievementController { constructor( private readonly achievementService: AchievementService, diff --git a/src/community/community.controller.ts b/src/community/community.controller.ts index 4da2758..c04024f 100644 --- a/src/community/community.controller.ts +++ b/src/community/community.controller.ts @@ -1,7 +1,7 @@ import { Controller, Get, Param } from '@nestjs/common'; import { CommunityService } from './community.service'; -@Controller('api/community') +@Controller('community') export class CommunityController { constructor(private readonly communityService: CommunityService) {} diff --git a/src/halloffame/halloffame.controller.ts b/src/halloffame/halloffame.controller.ts index 639ec41..dce107b 100644 --- a/src/halloffame/halloffame.controller.ts +++ b/src/halloffame/halloffame.controller.ts @@ -1,7 +1,7 @@ import { Controller, Get, Param } from '@nestjs/common'; import { HallOfFameService } from './halloffame.service'; -@Controller('api/halloffame') +@Controller('halloffame') export class HallOfFameController { constructor(private readonly hallOfFameService: HallOfFameService) {} diff --git a/src/profile/profile.controller.ts b/src/profile/profile.controller.ts index 37dcd0f..c42efa5 100644 --- a/src/profile/profile.controller.ts +++ b/src/profile/profile.controller.ts @@ -6,7 +6,7 @@ import { InjectRepository } from '@nestjs/typeorm'; import { Repository } from 'typeorm'; import { Character } from '../character/entities/character.entity'; -@Controller('api/profile') +@Controller('profile') export class ProfileController { constructor( private readonly profileService: ProfileService,