Server: Use static resources only in release mode

This commit is contained in:
2020-06-09 20:42:34 +02:00
parent 7d5b41a7f7
commit 8c06248c32
12 changed files with 216 additions and 154 deletions

View File

@@ -13,7 +13,7 @@ requires "nim >= 1.0.0", "gintro", "argparse", "jester", "ajax"
proc genJS =
echo "Generating JS Client"
exec("nim js -o:src/resources/pixctrl.js src/pixctrl.nim")
exec("nim js -o:src/resources/www/pixctrl.js src/pixctrl.nim")
task genJS, "Generate the Javascript client":
genJS()