chnaged ram usage from static to dynamic
This commit is contained in:
@@ -136,7 +136,7 @@ function info(req, res){
|
||||
<p>USER: ${req.session.state.username}</p>
|
||||
<p>CPU: 12th Gen Intel i7-1260P (12) @ 2.496GHz</p>
|
||||
<p>GPU: NVIDIA Geforce RTX 4060 TI</p>
|
||||
<p>Memory: 812MiB/2048MiB</p>
|
||||
<p>Memory: ${Math.floor(Math.random()*(2048-102)+102)}MiB/2048MiB</p>
|
||||
</div>
|
||||
</div>`,
|
||||
req.session.state.directory,
|
||||
|
||||
@@ -152,8 +152,6 @@ function resizeInput() {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
function measureTextWidth(text) {
|
||||
const nonBreakingSpace = '\u00A0';
|
||||
const sanitizedText = text.replace(/ /g, nonBreakingSpace);
|
||||
|
||||
Reference in New Issue
Block a user