merge wildcard binder to createServer

This commit is contained in:
Kagami Sascha Rosylight
2023-06-13 23:06:48 +02:00
parent 95dd66a0ba
commit aa87fb2f50
2 changed files with 14 additions and 21 deletions

View File

@@ -92,7 +92,6 @@ export class ServerService implements OnApplicationShutdown {
fastify.register(this.activityPubServerService.createServer);
fastify.register(this.nodeinfoServerService.createServer);
fastify.register(this.wellKnownServerService.createServer);
fastify.register(this.oauth2ProviderService.createServerWildcard);
fastify.register(this.oauth2ProviderService.createServer);
fastify.get<{ Params: { path: string }; Querystring: { static?: any; badge?: any; }; }>('/emoji/:path(.*)', async (request, reply) => {