all repos — caroster @ main

[Octree] Group carpool to your event https://caroster.io

backend/config/server.ts (view raw)

 1import cronTasks from "./cron-tasks";
 2
 3export default ({ env }) => ({
 4  host: env("HOST", "0.0.0.0"),
 5  port: env.int("PORT", 1337),
 6  url: env("STRAPI_URL", "http://localhost:1337"),
 7  proxy: env("NODE_ENV") === "production",
 8  app: {
 9    keys: env.array("APP_KEYS"),
10  },
11  cron: {
12    enabled: true,
13    tasks: cronTasks,
14  },
15});