fixing logbook non authenticated (#53)
This commit was merged in pull request #53.
This commit is contained in:
@@ -20,6 +20,7 @@ import { Public } from '@noahspan/noahspan-modules';
|
||||
export class LogController {
|
||||
constructor(private readonly logService: LogService) {}
|
||||
|
||||
@Public()
|
||||
@Get(':partitionKey/:rowKey')
|
||||
async find(
|
||||
@Param('partitionKey') partitionKey: string,
|
||||
|
||||
@@ -9,6 +9,7 @@ async function bootstrap() {
|
||||
const httpService = new HttpService();
|
||||
const app = await NestFactory.create(AppModule);
|
||||
|
||||
app.enableCors();
|
||||
app.setGlobalPrefix('api');
|
||||
app.useGlobalFilters(new HttpExceptionFilter());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user