mirror of
https://github.com/turbomaster95/coderrrrr.git
synced 2025-05-12 12:50:15 +00:00
67 lines
1.3 KiB
JSON
67 lines
1.3 KiB
JSON
{
|
|
"functions": {
|
|
"api/**/*": {
|
|
"maxDuration": 240
|
|
}
|
|
},
|
|
"crons": [{
|
|
"path": "/api/activitypub/sendNote.ts",
|
|
"schedule": "0 * * * *"
|
|
}],
|
|
"redirects": [
|
|
{
|
|
"source": "/amp/(.+)/",
|
|
"destination": "/$1/"
|
|
},
|
|
{
|
|
"source": "/(\\d+)/(\\d+)/(.+).html",
|
|
"destination": "/$3/"
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/(.+)/$",
|
|
"destination": "/$1/index.html"
|
|
},
|
|
{
|
|
"source": "/.well-known/(.*)",
|
|
"destination": "/api/well-known/$1"
|
|
},
|
|
{
|
|
"source": "/authorize_interaction",
|
|
"destination": "/api/activitypub/authorize_interaction.ts"
|
|
},
|
|
{
|
|
"source": "/coder",
|
|
"destination": "/api/activitypub/actor.ts"
|
|
},
|
|
{
|
|
"source": "/followers",
|
|
"destination": "/api/activitypub/followers.ts"
|
|
},
|
|
{
|
|
"source": "/following",
|
|
"destination": "/api/activitypub/following.ts"
|
|
},
|
|
{
|
|
"source": "/inbox",
|
|
"destination": "/api/activitypub/inbox.ts"
|
|
},
|
|
{
|
|
"source": "/outbox",
|
|
"destination": "/api/activitypub/outbox.ts"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*).ajson",
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/activity+json"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|