spuru9 commented on code in PR #28601:
URL: https://github.com/apache/flink/pull/28601#discussion_r3534583657


##########
flink-runtime-web/web-dashboard/proxy.conf.json:
##########
@@ -1,6 +1,6 @@
 [
   {
-    "context": ["/"],
+    "context": ["/applications", "/config", "/jars", "/jobmanager", "/jobs", 
"/overview", "/taskmanagers"],

Review Comment:
   Thanks — confirmed, and your analysis of the mechanism is exactly right: 
Angular's proxy-config normalization flattens the `context` array into plain 
string keys, and Vite matches those as raw URL prefixes (only `^`-prefixed keys 
become RegExps), so `/overview` also captured `/overview.component-<hash>.js`. 
Switched to the regex key as suggested and verified against a backend on :8081: 
all seven REST roots proxy correctly (including subpaths and query strings such 
as the flame graph endpoint), while the lazy route chunks, `main.js`, and 
`index.html` are served by the dev server.



-- 
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