Skip to content
Snippets Groups Projects
Commit a5367a1a authored by Ronnie Friman's avatar Ronnie Friman
Browse files

create path for image return

parent e4248a49
No related branches found
No related tags found
3 merge requests!59Development to master,!58Development to testing,!56Cluster update to Development
import { Controller, Get } from '@nestjs/common'; import { Controller, Get, Param, Res } from '@nestjs/common';
import { AppService } from './app.service'; import { AppService } from './app.service';
@Controller() @Controller()
...@@ -9,4 +9,9 @@ export class AppController { ...@@ -9,4 +9,9 @@ export class AppController {
getHello(): string { getHello(): string {
return this.appService.getHello(); return this.appService.getHello();
} }
@Get('images/:id')
returnImage(@Param('id') id, @Res() res) {
return;
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment