add comment

This commit is contained in:
john 2025-04-04 16:36:04 +02:00
parent 9e1ca21c92
commit 7a23bd080b

View file

@ -14,6 +14,8 @@ export function startServer(hostname = "localhost", port = 6969) {
const extension = path.extname(filepath);
// chromium doesn't care about your file extensions,
// it only wants content-type
const contentType = {
'.svg': "image/svg+xml",
'.png': "image/png",