Skip to content

some resources are 404 (docker) #1759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
imba-tjd opened this issue Jun 3, 2020 · 5 comments
Closed

some resources are 404 (docker) #1759

imba-tjd opened this issue Jun 3, 2020 · 5 comments

Comments

@imba-tjd
Copy link

imba-tjd commented Jun 3, 2020

  • Web Browser: FF 76
  • Local OS: Win10 2004
  • Remote OS: Debian bullseye
  • Remote Architecture: amd64
  • code-server --version: 3.4.0

图片

I run it by docker run -it -p 9001:8080 -v "$PWD:/home/coder/project" -u "$(id -u):$(id -g)" codercom/code-server:latest and access it by ip:9001, no proxy.

Some resources are 404, but it seems that I can enter the main page successfully? Don't know whether this is expected.

I saw #1642, but I'm using 3.4.0 and that issue seems to be fixed?

@nhooyr
Copy link
Contributor

nhooyr commented Jun 3, 2020

cc @code-asher

@code-asher
Copy link
Member

Those files are loaded when running a development build. They aren't needed in a production build because they're all bundled into a couple files.

I'm not sure why your browser is making requests for those files though. I ran the latest Docker image but I'm not seeing the same behavior.

Have you ever ran the development build before? If so, maybe it's a caching issue. It would be worth a shot to use a private window and see if the same thing happens.

@nhooyr
Copy link
Contributor

nhooyr commented Jun 3, 2020

Yea as long as everything works you should be good!

Please feel free to comment if not and I'll ropen.

@nhooyr nhooyr closed this as completed Jun 3, 2020
@imba-tjd
Copy link
Author

imba-tjd commented Jun 3, 2020

Thanks. I can't reproduce this now, either 😂

@nhooyr
Copy link
Contributor

nhooyr commented Jun 4, 2020

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants