fix the seed for rules

This commit is contained in:
Marshal
2026-06-05 17:25:16 +00:00
parent 04d79cd568
commit 67037ba748
4 changed files with 8 additions and 5 deletions

View File

@@ -52,9 +52,10 @@ async function bootstrap() {
SwaggerModule.setup("api/docs", app, document);
const port = parseInt(process.env.PORT ?? "3001", 10);
await app.listen(port);
await app.listen(port, "0.0.0.0");
// await app.listen(port)
// eslint-disable-next-line no-console
console.log(`[freight-api] listening on http://localhost:${port}`);
console.log(`[freight-api] listening on port ${port}`);
}
bootstrap();

View File

@@ -353,6 +353,8 @@ export class PricingDataSeeder {
): Promise<Rate[]> {
const effectiveFrom = new Date("2026-01-01");
const now = new Date();
// await rRepo.createQueryBuilder().delete().execute();
const rateData = [
{
rateType: "CONTAINER_IMPORT",