mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
remove well-known properly
This commit is contained in:
parent
c063682560
commit
6adffd7c6b
@ -7,7 +7,6 @@ import middleware from './middleware'
|
||||
import { getNeode, getDriver } from './db/neo4j'
|
||||
import decode from './jwt/decode'
|
||||
import schema from './schema'
|
||||
import webfinger from './activitypub/routes/webfinger'
|
||||
import { RedisPubSub } from 'graphql-redis-subscriptions'
|
||||
import { PubSub } from 'graphql-subscriptions'
|
||||
import Redis from 'ioredis'
|
||||
@ -89,7 +88,6 @@ const createServer = (options?) => {
|
||||
(CONFIG.DEBUG && { contentSecurityPolicy: false, crossOriginEmbedderPolicy: false }) || {},
|
||||
) as any,
|
||||
)
|
||||
app.use('/.well-known/', webfinger())
|
||||
app.use(express.static('public'))
|
||||
app.use(bodyParser.json({ limit: '10mb' }) as any)
|
||||
app.use(bodyParser.urlencoded({ limit: '10mb', extended: true }) as any)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user