Yield generated for 9f8a7212-62f3-4adf-acf3-42c815b6b1de
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',
};
}
}