From e5ed1d3455b0f7aa2015c47ab79231afdda2f9a9 Mon Sep 17 00:00:00 2001 From: Lena Schimmel Date: Sun, 16 Jun 2019 20:24:53 +0200 Subject: [PATCH] Actually runable as cmd or in the browser, using different main files. --- node/server/server.js | 1 + node/tool/browser.js | 9 +++++++ node/tool/cmd.js | 18 +++++++++++++ node/tool/compile.sh | 3 ++- node/tool/package.json | 6 +++-- node/tool/{queerallyear.js => recolor.js} | 31 +++-------------------- web/index.html | 3 +-- web/js/main.js | 4 --- 8 files changed, 38 insertions(+), 37 deletions(-) create mode 100644 node/tool/browser.js create mode 100644 node/tool/cmd.js rename node/tool/{queerallyear.js => recolor.js} (82%) delete mode 100755 web/js/main.js diff --git a/node/server/server.js b/node/server/server.js index b8063af..71ff416 100644 --- a/node/server/server.js +++ b/node/server/server.js @@ -6,6 +6,7 @@ var app = express(); var index = fs.readFileSync("../../web/index.html").toString(); var logo = fs.readFileSync("../../web/img/logo.svg").toString(); +logo = logo.replace('