{ "public": true, "framework": "hugo", "redirects": [ { "source": "/amp/(.+)/", "destination": "/$1/" }, { "source": "/(\\d+)/(\\d+)/(.+).html", "destination": "/$3/" }, { "source": "/atom.xml", "destination": "/index.xml" }, { "source": "/activitypub-support-added/", "destination": "/news/activitypub-support-added/" } ], "rewrites": [ { "source": "/(.+)/$", "destination": "/$1/index.html" }, { "source": "/.well-known/(.*)", "destination": "/api/well-known/$1" }, { "source": "/nodeinfo/2.1", "destination": "/api/nodeinfo/2.1.ts" }, { "source": "/authorize_interaction", "destination": "/api/activitypub/authorize_interaction.ts" }, { "source": "/fedipage", "destination": "/api/activitypub/actor.js" }, { "source": "/followers", "destination": "/api/activitypub/followers.js" }, { "source": "/following", "destination": "/api/activitypub/following.js" }, { "source": "/inbox", "destination": "/api/activitypub/inbox.js" }, { "source": "/outbox", "destination": "/api/activitypub/outbox.js" }, { "source": "/send-note", "destination": "/api/activitypub/sendNote.js" }, { "source": "/news/:pathPage/", "has": [ { "type": "header", "key": "Accept", "value": "application/activity+json" } ], "destination": "/news/:pathPage/status.ajson" }, { "source": "/news/:pathPage/", "missing": [ { "type": "header", "key": "Accept", "value": "application/activity+json" } ], "destination": "/news/:pathPage/status.html" }, { "source": "/([^/]*)/(.*)/activity", "destination": "/$1/$2/activity.ajson" } ], "functions": { "**/*": { "maxDuration": 300 } }, "headers": [ { "source": "/(.*).ajson", "headers": [ { "key": "content-type", "value": "application/activity+json" } ] } ], "crons": [{ "path": "/send-note", "schedule": "*/5 * * * *" }] }