Skip to content

Commit 32ea67d

Browse files
committed
rename icon
1 parent 50e6097 commit 32ea67d

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

Coder-Desktop/Coder-Desktop/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<key>CFBundleTypeRole</key>
99
<string>Editor</string>
1010
<key>CFBundleURLIconFile</key>
11-
<string>1024</string>
11+
<string>1024Icon</string>
1212
<key>CFBundleURLName</key>
1313
<string>com.coder.Coder-Desktop</string>
1414
<key>CFBundleURLSchemes</key>

Coder-Desktop/VPNLib/CoderRouter.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ public struct CoderRouter: ParserPrinter {
77

88
public var body: some ParserPrinter<URLRequestData, CoderRoute> {
99
Route(.case(CoderRoute.open(workspace:agent:route:))) {
10+
Scheme("coder")
1011
// v0/open/ws/<workspace>/agent/<agent>/<openType>
1112
Path { "v0"; "open"; "ws"; Parse(.string); "agent"; Parse(.string) }
1213
openRouter

Coder-Desktop/VPNLibTests/CoderRouterTests.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ struct CoderRouterTests {
8787
expectedRoute: nil,
8888
description: "Missing agent segment"
8989
),
90+
RouteTestCase(
91+
urlString: "http://coder.example.com/v0/open/ws/workspace-123/agent/agent-456",
92+
expectedRoute: nil,
93+
description: "Wrong scheme"
94+
),
9095
])
9196
func testRdpRoutes(testCase: RouteTestCase) throws {
9297
let url = URL(string: testCase.urlString)!

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy