feat: app is running
This commit is contained in:
parent
94170d1ce1
commit
0c6e3b1067
|
|
@ -11,7 +11,6 @@ import { PermissionsService } from '@gitroom/backend/services/auth/permissions/p
|
|||
import { IntegrationsController } from '@gitroom/backend/api/routes/integrations.controller';
|
||||
import { IntegrationManager } from '@gitroom/nestjs-libraries/integrations/integration.manager';
|
||||
import { SettingsController } from '@gitroom/backend/api/routes/settings.controller';
|
||||
import { ioRedis } from '@gitroom/nestjs-libraries/redis/redis.service';
|
||||
import { PostsController } from '@gitroom/backend/api/routes/posts.controller';
|
||||
import { MediaController } from '@gitroom/backend/api/routes/media.controller';
|
||||
import { UploadModule } from '@gitroom/nestjs-libraries/upload/upload.module';
|
||||
|
|
@ -27,6 +26,7 @@ import { CodesService } from '@gitroom/nestjs-libraries/services/codes.service';
|
|||
import { CopilotController } from '@gitroom/backend/api/routes/copilot.controller';
|
||||
import { AgenciesController } from '@gitroom/backend/api/routes/agencies.controller';
|
||||
import { PublicController } from '@gitroom/backend/api/routes/public.controller';
|
||||
import { RootController } from '@gitroom/backend/api/routes/root.controller';
|
||||
|
||||
const authenticatedController = [
|
||||
UsersController,
|
||||
|
|
@ -60,6 +60,7 @@ const authenticatedController = [
|
|||
: []),
|
||||
],
|
||||
controllers: [
|
||||
RootController,
|
||||
StripeController,
|
||||
AuthController,
|
||||
PublicController,
|
||||
|
|
|
|||
|
|
@ -0,0 +1,8 @@
|
|||
import { Controller, Get } from '@nestjs/common';
|
||||
@Controller('/')
|
||||
export class RootController {
|
||||
@Get('/')
|
||||
getRoot(): string {
|
||||
return 'App is running!';
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue