Skip to content

Commit 4e26977

Browse files
committed
with /dav/ prefix
1 parent e7ecbe8 commit 4e26977

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lcode.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import (
55
"net/http"
66
"os"
77
"os/signal"
8+
"path"
89
"path/filepath"
910

1011
"github.com/shynome/httprelay-go"
@@ -27,7 +28,7 @@ func main() {
2728
db.Allow(codedir)
2829
defer db.Deny(codedir)
2930

30-
vscodeLink := genVscodeLink(proxy.Auth.ID, codedir)
31+
vscodeLink := genVscodeLink(proxy.Auth.ID, path.Join("/dav/", codedir))
3132

3233
fmt.Println(vscodeLink)
3334
// go reqOpen(vscodeLink)

0 commit comments

Comments
 (0)