Open jsoref opened 1 year ago
I am getting the same error, any workaround?
The code is here: https://github.com/argoproj/argo-cd/blob/b6cfe676f3ff9f73c71a0d6256c1bc14cd9c12ed/server/server.go#L1022-L1024
I suspect that you could "work around" this by adding some extension content.
Checklist:
argocd version
.Describe the bug
Chrome shows an error in the console for a text response for a js file.
The web server is sending a 500
text/plain
message w/Internal error
as a response to a javascript include -- and the web browser is pissed that the script it requested did not result in a javascript file:https://github.com/argoproj/argo-cd/blob/b2a6387ca05f7f4e4d31ab057a8d3dc7f741e7ad/server/server.go#L1021-L1022
To Reproduce
Visit the login page when credentials (github dex oauth?) have expired and open browser web tools
Expected behavior
Serve a JavaScript file with the error inline in some form that doesn't result in errors from the browser.
Possibly:
Screenshots
Version
Logs
curl yields: