Skip to content

Commit

Permalink
fix(backend): fix run app
Browse files Browse the repository at this point in the history
  • Loading branch information
pYassine committed Jun 11, 2024
1 parent cd79aa5 commit e9b5200
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
4 changes: 2 additions & 2 deletions packages/backend/src/run-app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { domifaConfig } from "./config";
const { app, postgresTypeormConnection } = await bootstrapApplication();
try {
// in local env, run cron on app startup (non blocking)
const server = await app.listen(3010);
const server = await app.listen(3000);
server.setTimeout(1000 * 60 * 5);
appLogger.warn(`[${__filename}] Application listening on port 3010`);
appLogger.warn(`[${__filename}] Application listening on port 3000`);

if (
(domifaConfig().envId === "prod" ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,6 @@ <h1>Rapport d'activité et statistiques</h1>
(click)="onYearChange(report.year)"
>
Année {{ report.year }}
<!-- <span
class="badge badge-pill"
[ngClass]="{
'bg-primary': report.confirmationDate,
'bg-warning text-dark': !report.confirmationDate
}"
>
{{ report?.confirmationDate ? "Complété" : "A compléter" }}
</span> -->
</button>
<button
type="button"
Expand Down Expand Up @@ -194,14 +185,12 @@ <h1>Rapport d'activité et statistiques</h1>
</div>
</div>
</div>
<!--
<ng-container *ngIf="!isCustomDates && currentReport" class="my-2">
<app-reporting-form
[currentReport]="currentReport"
(getReportings)="getReportings()"
></app-reporting-form>
</ng-container> -->

</ng-container>
<ng-container *ngIf="loading">
<div class="text-center">
<p>
Expand Down

0 comments on commit e9b5200

Please sign in to comment.