mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Make no-extra-parens rule stricter
This commit is contained in:
@@ -160,7 +160,7 @@ export class StaticAssetHandler extends HttpHandler {
|
||||
{
|
||||
// eslint-disable-next-line ts/naming-convention
|
||||
'cache-control': `max-age=${this.expires}`,
|
||||
expires: new Date(Date.now() + (this.expires * 1000)).toUTCString(),
|
||||
expires: new Date(Date.now() + this.expires * 1000).toUTCString(),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user