-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Widget: initial request returns NULL objects: #273
Comments
https://dev.buerokratt.ee/ |
@turnerrainer, take a look at Ahmeds comment: 1- Disable Caching on Module index.html by adding (Not Recommended) 2- Control Caching on API's in Java in case of ruuter via HTTP Headers (Recommended) In java: response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1. What do you think is more appropriate to use in our modules ? Note: For example in chatbot when trying to set the cache control header to the api requests it stopped working, so i think Ruuter needs to account for this headers when needed |
@turnerrainer still waiting your comment |
@rasmusei @1AhmedYasser |
Should be resolved by Ruuter v1 -> Ruuter v2 migration. Will be fully resolved by #213 |
tested 22.08.2023, env: dev.buerokratt.ee
Following request reutrns null object with statuscode 300:
https://ruuter.dev.buerokratt.ee/pub2/get-widget-config
{
"response": null
}
https://ruuter.dev.buerokratt.ee/pub2/get-emergency-notice
{
"response": null
}
https://ruuter.dev.buerokratt.ee/pub1/custom-jwt-userinfo
{
"data": {
"custom_jwt_userinfo": null
},
"error": null
}
The text was updated successfully, but these errors were encountered: