code-server: Query parameters break IDE

I tried to use code-server in a container on Openshift inside of Che as an alternative to Eclipse Theia. Che adds query parameter ?uid=213488 to ensure that response is not cached and updates of the IDE web page are properly managed. But code-server doesn’t load because of this query parameter. Instead error is returned Cannot GET / with error code 404. Changing query parameter name doesn’t help. Could you allow passing query parameters to the IDE, so caching prevention would work? Actually, it might be a good idea to prevent caching by default because some users would want to be able to run new version of the code-server in a docker container and not suffer from cached page issue.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (11 by maintainers)

Most upvoted comments

I’ll try to make a fix for this tomorrow.

CC any coder maintainer to mark this as a bug and not a feature thanks

sounds like a acceptable workaround but this needs to be fixed upstream

agreed