feat(perf): implement comprehensive Core Web Vitals, ISR caching, and media optimizations
Deploy Canina / deploy (push) Successful in 1m48s

This commit is contained in:
parsa aghaei committed 2026-08-24 17:23:43 +03:30
1 parent 2a31a9f8e4
commit fe6a900665
42 files changed
+12941 -10561

No files matched your search

+7 -5
View File
@@ -37,7 +37,12 @@ export class BlogsController {
@ApiQuery({ name: 'status', required: false })
@ApiQuery({ name: 'categoryId', required: false })
async getBlogs(
@Query() query: PaginationDto & { status?: string; categoryId?: string; tagId?: string },
@Query()
query: PaginationDto & {
status?: string;
categoryId?: string;
tagId?: string;
},
) {
return this.blogsService.getBlogs(query);
}
@@ -120,10 +125,7 @@ export class BlogsController {
@Put(':id')
@ApiOperation({ summary: 'ویرایش مقاله' })
async updateBlog(
@Param('id') id: string,
@Body() body: any,
) {
async updateBlog(@Param('id') id: string, @Body() body: any) {
const data = await this.blogsService.updateBlog(id, body);
return { success: true, data };
}