You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I wanted to redirect to specific page if microfrontend fails with any error (but specifically I am looking for X-Frame-options error).
so in my example : if I navigate to "/extension" then it should load the microfrontend and ifmicrofront has X-frame-options : sameorigin then it should redirect to my specified path i.e.
"/extension.html" page
let me know if I have missed anything here.
below is my Luigi-config :
Luigi.setConfig({
navigation: {
contextSwitcher : {
defaultLabel: 'Select Subdomain',
parentNodePath: '/extension', // absolute path
lazyloadOptions: true, // load options on click instead on page load
options: () =>
[...Array(2).keys()]
.filter(n => n !== 0)
.map(n => ({
label: 'i077549-dev', // (i.e mapping between what the user sees and what is taken to replace the dynamic part for the dynamic node)
pathValue: '?~subdomain=i077549-dev' // will be used to replace dynamic part
}))
},
Hi,
I wanted to redirect to specific page if microfrontend fails with any error (but specifically I am looking for X-Frame-options error).
so in my example : if I navigate to "/extension" then it should load the microfrontend and ifmicrofront has X-frame-options : sameorigin then it should redirect to my specified path i.e.
"/extension.html" page
let me know if I have missed anything here.
below is my Luigi-config :
Luigi.setConfig({
navigation: {
contextSwitcher : {
defaultLabel: 'Select Subdomain',
parentNodePath: '/extension', // absolute path
lazyloadOptions: true, // load options on click instead on page load
options: () =>
[...Array(2).keys()]
.filter(n => n !== 0)
.map(n => ({
label: 'i077549-dev', // (i.e mapping between what the user sees and what is taken to replace the dynamic part for the dynamic node)
pathValue: '?~subdomain=i077549-dev' // will be used to replace dynamic part
}))
},
I have an microfrontend : "https://sap-cloud-platform-home-i077549-dev-development-saptest.cfapps.sap.hana.ondemand.com/’"
The text was updated successfully, but these errors were encountered: