Fixed incorrect microservices URLs after updating dockerfiles (#159)

This commit is contained in:
Alex 2022-05-11 06:18:11 -05:00 committed by GitHub
parent bb89fa4aab
commit c5adbea6e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 15 deletions

View file

@ -5,7 +5,7 @@ import { ImageClassifierService } from './image-classifier.service';
export class ImageClassifierController {
constructor(
private readonly imageClassifierService: ImageClassifierService,
) {}
) { }
@Post('/tagImage')
async tagImage(@Body('thumbnailPath') thumbnailPath: string) {

View file

@ -1,11 +1,12 @@
import { Body, Controller, Post } from '@nestjs/common';
import { ObjectDetectionService } from './object-detection.service';
import { Logger } from '@nestjs/common';
@Controller('object-detection')
export class ObjectDetectionController {
constructor(
private readonly objectDetectionService: ObjectDetectionService,
) {}
) { }
@Post('/detectObject')
async detectObject(@Body('thumbnailPath') thumbnailPath: string) {