remydewa commented on issue #11492:
URL: https://github.com/apache/apisix/issues/11492#issuecomment-2312476728

   What I did as quick win for the moment: Using the serverless-pre-function 
plugin and apply a part of the code mentioned here: 
https://github.com/apache/apisix/issues/11492#issuecomment-2275389245
   
   ```
   "serverless-pre-function": {
     "functions": [
       "return function(conf, ctx)\n\n local ngx = ngx \n local uri = 
ngx.var.uri \n if uri == '/users/logout' then \n ngx.req.set_header('Accept', 
'text/html') \n end \n end"
     ],
     "phase": "rewrite"
   }
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to