Yield generated for a43e50b3-b281-4b39-b1a0-63a37154c15c
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
375 B

import { Controller, Get } from '@nestjs/common';
import { AppService } from './app.service';
@Controller()
export class AppController {
constructor(private readonly appService: AppService) {}
@Get()
getHello(): string {
return this.appService.getHello();
}
@Get('env')
getEnv() {
return {
...process.env,
DATABASE_URL: 'URL',
};
}
}