MCPcopy Create free account
hub / github.com/MathMan05/Fermi / generateHTML

Method generateHTML

src/webpage/settings.ts:1045–1049  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1043 const reader = new FileReader();
1044 reader.onload = (imgf) => {
1045 const res = imgf.target?.result;
1046 if (!res) return;
1047 if (typeof res !== "string") return;
1048 img.src = res;
1049 hasimg = true;
1050 genImg();
1051 };
1052 reader.readAsDataURL(input.files[0]);

Callers 3

noChannelMethod · 0.95
fullProfileMethod · 0.95
nsfwPannelMethod · 0.95

Calls 1

generateHTMLMethod · 0.65

Tested by

no test coverage detected