-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
* add proxy handler & remove old routes * fwd content-type header * use baseurl instead of path * handle global ratelimits in catchall * fix build * base defaultService off req.originalUrl * error handling around res.arrayBuffer() * check & format url before doing auth verification
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,15 @@ | ||
import { Server } from '../../../../lexicon' | ||
import AppContext from '../../../../context' | ||
import getActorFeeds from './getActorFeeds' | ||
import getActorLikes from './getActorLikes' | ||
import getAuthorFeed from './getAuthorFeed' | ||
import getFeed from './getFeed' | ||
import getFeedGenerator from './getFeedGenerator' | ||
import getFeedGenerators from './getFeedGenerators' | ||
import getLikes from './getLikes' | ||
import getListFeed from './getListFeed' | ||
import getPosts from './getPosts' | ||
import getPostThread from './getPostThread' | ||
import getRepostedBy from './getRepostedBy' | ||
import getSuggestedFeeds from './getSuggestedFeeds' | ||
import getTimeline from './getTimeline' | ||
import searchPosts from './searchPosts' | ||
import sendInteractions from './sendInteractions' | ||
|
||
export default function (server: Server, ctx: AppContext) { | ||
getActorFeeds(server, ctx) | ||
getActorLikes(server, ctx) | ||
getAuthorFeed(server, ctx) | ||
getFeed(server, ctx) | ||
getFeedGenerator(server, ctx) | ||
getFeedGenerators(server, ctx) | ||
getLikes(server, ctx) | ||
getListFeed(server, ctx) | ||
getPosts(server, ctx) | ||
getPostThread(server, ctx) | ||
getRepostedBy(server, ctx) | ||
getSuggestedFeeds(server, ctx) | ||
getTimeline(server, ctx) | ||
searchPosts(server, ctx) | ||
sendInteractions(server, ctx) | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.