Download src/app.controller.ts from bardd/node-pt: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/bardd/node-pt/resolve/206c48cc32b99fa790c6b2cf2d48dee648d8a19e/src/app.controller.ts
- Command line
-
hf download hf://spaces/bardd/node-pt@206c48cc32b99fa790c6b2cf2d48dee648d8a19e/src/app.controller.ts
-
curl -L -o app.controller.ts https://huggingface.co/spaces/bardd/node-pt/resolve/206c48cc32b99fa790c6b2cf2d48dee648d8a19e/src/app.controller.ts
274 Bytes
| import { Controller, Get } from '@nestjs/common'; | |
| import { AppService } from './app.service'; | |
| () | |
| export class AppController { | |
| constructor(private readonly appService: AppService) {} | |
| () | |
| getHello(): string { | |
| return this.appService.getHello(); | |
| } | |
| } | |