parsav  Diff

Differences From Artifact [931922a3e1]:

To Artifact [3d0e5432a4]:


    44     44   		when = os.date();
    45     45   	};
    46     46   	feat = {};
    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  +		-- 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
    51     56   		{'style.css', 'text/css'};
    52     57   		{'default-avatar.webp', 'image/webp'};
    53     58   		{'padlock.webp', 'image/webp'};
    54     59   		{'warn.webp', 'image/webp'};
           60  +		{'query.webp', 'image/webp'};
    55     61   	};
    56     62   }
    57     63   if os.getenv('parsav_let_me_be_an_idiot') == "i know what i'm doing" then
    58     64   	conf.braingeniousmode = true -- SOUND GENERAL QUARTERS
    59     65   end
    60     66   if u.ping '.fslckout' or u.ping '_FOSSIL_' then
    61     67   	if u.ping '_FOSSIL_' then default_os = 'windows' end