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",

View File

@@ -94,7 +94,7 @@ const buildSidebarSections = (demoItems: SidebarItem[]): SidebarSection[] => [
title: "Administration",
items: [
{
label: "User management",
label: "User management22",
href: "/dashboard/user-management",
icon: <Network />,
children: [

View File

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