aboutsummaryrefslogtreecommitdiff
path: root/config/index.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-07-07 18:29:36 +0000
committerShpuld Shpludson <shp@cock.li>2019-07-07 18:29:36 +0000
commit171673113fd353666ae9b593abec8f64ec9ea6ef (patch)
tree99d61668d54d76a5e97713203b04ec390ef9301b /config/index.js
parentc8794b2b840e628687342c0fade2da4a9fd2cd12 (diff)
parent9fc9925488ecca3c515e97602e479a145d306fc3 (diff)
Merge branch 'revoke-token' into 'develop'
Revoke oAuth token on logout Closes pleroma#952 See merge request pleroma/pleroma-fe!864
Diffstat (limited to 'config/index.js')
-rw-r--r--config/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/index.js b/config/index.js
index 56fa5940..ccec4196 100644
--- a/config/index.js
+++ b/config/index.js
@@ -48,6 +48,11 @@ module.exports = {
changeOrigin: true,
cookieDomainRewrite: 'localhost',
ws: true
+ },
+ '/oauth/revoke': {
+ target,
+ changeOrigin: true,
+ cookieDomainRewrite: 'localhost'
}
},
// CSS Sourcemaps off by default because relative paths are "buggy"