<canvas id="view" width=480 height=320 style="border: 1px solid red;"></canvas>
$(
for base in mods/fantasycore mods/empyrean_campaign; do
- find $base/images/avatar $base/images/enemies -name '*.png' |while read -r file; do
+ find $base/images/avatar $base/images/enemies -name '*.png' 2>&-\
+ | while read -r file; do
file="${file#"${base}/"}"
printf '<img src="%s" style="display: none;" />' "$file"
done
<script type="text/javascript" src="/engine.js"></script>
</body></html>
EOF
+elif [ "$_PATH" = /favicon.ico ]; then
+ printf 'Status: 404 Not Found\r\nContent-Length: 0\r\n\r\n'
else
for base in . \
./mods/empyrean_campaign \