mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
feat: remove tunnel and tailscale feature
This commit is contained in:
@@ -22,16 +22,7 @@ describe("CLI tool endpoint resolution", () => {
|
||||
})).toBe("https://router.customer.example");
|
||||
});
|
||||
|
||||
it("uses a public endpoint for externally hosted tools when the dashboard is local", () => {
|
||||
expect(resolveCliToolBaseUrl({
|
||||
appUrl: "http://localhost:20128",
|
||||
requiresExternalUrl: true,
|
||||
tunnelEnabled: true,
|
||||
tunnelPublicUrl: "https://tunnel.example/",
|
||||
cloudEnabled: true,
|
||||
cloudUrl: "https://cloud.example",
|
||||
})).toBe("https://tunnel.example");
|
||||
|
||||
it("uses the cloud endpoint for externally hosted tools when the dashboard is local", () => {
|
||||
expect(resolveCliToolBaseUrl({
|
||||
appUrl: "http://localhost:20128",
|
||||
requiresExternalUrl: true,
|
||||
|
||||
Reference in New Issue
Block a user