code-server icon indicating copy to clipboard operation
code-server copied to clipboard

More tools -> Create shortcuts in Chrome

Open mengjuleu opened this issue 7 years ago • 1 comments

Description

What will the URL address of the Coder App be when we create shortcut in Chrome?

Hi Codercom,

Thanks for creating code-server which enables us to modify code in remote box easily. However, we only can open one single project at a time. To open multiple one, we have to register multiple routing rules.

To solve this problem, I start a project code-server-proxy (https://github.com/mengjuleu/code-server-proxy) . By registering code-server instance in .yaml file of code-server-proxy, we can access multiple code-server instances from outside world. We only need to register code-server-proxy to Nginx config, then we can access code-server by:

  • https://example.com/project1
  • https://example.com/path/to/project

The problem is:

I open my project with URL address https://example.com/a/b/c and create shortcut in Chrome. WhenI open the Chrome app and check the URL, the URL becomes https://exmaple.com/a/b/ the c was truncated. What happened when we create a shortcut?

mengjuleu avatar Apr 20 '19 04:04 mengjuleu

Hey @mengjuleu If you're running v2, URL/?folder=/path/to/folder should be the way right now. This'll be easier than relying on a proxy.

sr229 avatar Sep 12 '19 17:09 sr229