Skip to content

Commit

Permalink
fix: 修复 MimeType 类的 TOKEN 属性未初始化的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
muxiangqiu committed Oct 7, 2024
1 parent d40d603 commit 8d6eaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/common/utils/mime-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { MimeTypeUtils } from './mime-type-util';
export class MimeType {
private static readonly WILDCARD_TYPE = '*';
private static readonly PARAM_CHARSET = 'charset';
private static TOKEN: Set<number>;
private static TOKEN: Set<number> = new Set();

private readonly type: string;
private readonly subtype: string;
Expand Down

0 comments on commit 8d6eaf8

Please sign in to comment.