Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,9 @@ LABEL org.opencontainers.image.title="AnythingMCP" \
USER appuser
EXPOSE 3000 4000

# Health check — backend exposes /health on port 4000.
# 30s interval, 5s timeout, 30s start period, 3 retries before unhealthy.
HEALTHCHECK --interval=30s --timeout=5s --start-period=30s --retries=3 \
CMD wget --quiet --tries=1 --spider http://localhost:4000/health || exit 1

CMD ["./start.sh"]
4 changes: 3 additions & 1 deletion packages/backend/src/settings/site-settings.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ export class SiteSettingsAdminController {
@Get('footer-links')
@ApiOperation({ summary: 'Get footer links for current organization (ADMIN)' })
async getFooterLinks(@Req() req: any) {
return this.orgSettings.getFooterLinks(req.user.organizationId) || [];
return (
(await this.orgSettings.getFooterLinks(req.user.organizationId)) || []
);
}

@Put('footer-links')
Expand Down
Loading