Differences From
Artifact [cd48dd2db6]:
47 47 debug = u.tobool(default('parsav_enable_debug',true));
48 48 backends = defaultlist('parsav_backends', 'pgsql');
49 49 braingeniousmode = false;
50 50 embeds = {
51 51 -- TODO with gzip compression, svg is dramatically superior to webp
52 - -- we should have a build-time option to serve svg so instances
53 - -- proxied behind nginx can serve svgz, or possibly just straight-up
54 - -- add support for content-encoding headers and pre-compress the
55 - -- damn things before compiling
52 + -- we should add support for content-encoding headers and pre-compress
53 + -- the damn things before compiling (also making the binary smaller)
56 54 {'style.css', 'text/css'};
57 55 {'live.js', 'text/javascript'}; -- rrrrrrrr
58 - {'default-avatar.webp', 'image/webp'};
59 - {'padlock.webp', 'image/webp'};
60 - {'warn.webp', 'image/webp'};
61 - {'query.webp', 'image/webp'};
56 + {'default-avatar.webp', 'image/webp'}; -- needs inkscape-exclusive svg features
57 + {'padlock.svg', 'image/svg+xml'};
58 + {'warn.svg', 'image/svg+xml'};
59 + {'query.svg', 'image/svg+xml'};
62 60 };
63 61 default_ui_accent = tonumber(default('parsav_ui_default_accent',323));
64 62 }
65 63 if os.getenv('parsav_let_me_be_an_idiot') == "i know what i'm doing" then
66 64 conf.braingeniousmode = true -- SOUND GENERAL QUARTERS