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
The Quinoa extension operates in a particular way, as illustrated in the attached image. When an HTTP request is made, it first reaches the Quinoa extension. If the extension doesn't find the resource, it looks for it in META-INF/resources, and if that fails too, it forwards the request to the REST API. However, the problem is that if we intend to develop a web application that uses Quarkus Qute to handle the requests in the root path '/', we can't do that since Quinoa has higher priority, and it would serve the Quinoa app instead.
To resolve this issue we can modify the Quinoa extension's configuration to serve the application in a different path. For instance, we can configure the extension to serve the Quinoa app in the path '/quinoa', while the Quarkus Qute-based web application would be served in the root directory '/'.
By implementing this solution, we can have both the Quinoa app and the Quarkus Qute-based web application running simultaneously, without any conflicts.
The following Qute-based web application is never served since the Quinoa-based application gets served.
I too would like this feature - as although #299 did provide a way of making this apparently work in dev mode with a combination of path ignores - it fails when deployed. The cleanest solution to this would be to allow the SPA to be at a non-root path. My motivation for wanting this functionality is a combination of the original use case of the quarkus quinoa app being part of a set of microservices deployed to k8s behind a proxy, and wanting to follow a https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps-14#name-token-mediating-backend architecture.
pahjbo
added a commit
to orppst/pst-gui
that referenced
this issue
Mar 20, 2024
The Quinoa extension operates in a particular way, as illustrated in the attached image. When an HTTP request is made, it first reaches the Quinoa extension. If the extension doesn't find the resource, it looks for it in META-INF/resources, and if that fails too, it forwards the request to the REST API. However, the problem is that if we intend to develop a web application that uses Quarkus Qute to handle the requests in the root path '/', we can't do that since Quinoa has higher priority, and it would serve the Quinoa app instead.
To resolve this issue we can modify the Quinoa extension's configuration to serve the application in a different path. For instance, we can configure the extension to serve the Quinoa app in the path '/quinoa', while the Quarkus Qute-based web application would be served in the root directory '/'.
By implementing this solution, we can have both the Quinoa app and the Quarkus Qute-based web application running simultaneously, without any conflicts.
The following Qute-based web application is never served since the Quinoa-based application gets served.
The text was updated successfully, but these errors were encountered: