fix(core): update
This commit is contained in:
parent
1ce6d2ab01
commit
0bb7e438d5
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@api.global/typedserver',
|
name: '@api.global/typedserver',
|
||||||
version: '3.0.30',
|
version: '3.0.31',
|
||||||
description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.'
|
description: 'A TypeScript-based project for easy serving of static files with support for live reloading, compression, and typed requests.'
|
||||||
}
|
}
|
||||||
|
@ -24,7 +24,7 @@ export class NetworkManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public getEffectiveType() {
|
public getEffectiveType() {
|
||||||
return this.getConnection()?.effectiveType || '4g';
|
return this.getConnection()?.effectiveType || '4g';
|
||||||
}
|
}
|
||||||
|
|
||||||
public updateConnectionStatus() {
|
public updateConnectionStatus() {
|
||||||
|
Loading…
Reference in New Issue
Block a user