This commit is contained in:
Robert Schäfer 2019-03-25 16:39:45 +01:00
parent aa8278d061
commit dc85ed825d

View File

@ -123,13 +123,13 @@ module.exports = {
proxy: {
'/.well-known/webfinger': {
target: process.env.GRAPHQL_URI || 'http://localhost:4000',
toProxy: true, // cloudflare needs that
toProxy: true // cloudflare needs that
},
'/activityPub': {
// make this configurable (nuxt-dotenv)
target: process.env.GRAPHQL_URI || 'http://localhost:4000',
pathRewrite: { '^/activityPub': '' },
toProxy: true, // cloudflare needs that
toProxy: true // cloudflare needs that
},
'/api': {
// make this configurable (nuxt-dotenv)