Skip to content

Commit fc6469a

Browse files
committed
Removed ssl from storage compat
1 parent d305dec commit fc6469a

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

packages/functions/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export function getFunctions(
7474
export function connectFunctionsEmulator(
7575
functionsInstance: Functions,
7676
host: string,
77-
port: number,
77+
port: number
7878
): void {
7979
_connectFunctionsEmulator(
8080
getModularInstance<FunctionsService>(functionsInstance as FunctionsService),

packages/storage-compat/src/service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export class StorageServiceCompat
9292
port: number,
9393
options: {
9494
mockUserToken?: EmulatorMockTokenOptions | string;
95-
ssl?: boolean;
9695
} = {}
9796
): void {
9897
connectStorageEmulator(this._delegate, host, port, options);

packages/util/src/url.ts

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1+
/**
2+
* @license
3+
* Copyright 2025 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
118
/**
219
* Checks whether host is a cloud workstation or not.
320
*/
421
export function isCloudWorkstation(host: string) {
5-
return host.endsWith('.cloudworkstations.dev');
6-
}
22+
return host.endsWith('.cloudworkstations.dev');
23+
}

0 commit comments

Comments
 (0)