diff --git a/.gitignore b/.gitignore index 8ee569b..7c6e4ff 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,15 @@ # Dependency directories (remove the comment below to include it) # vendor/ server/server +client/client +www/favicon.ico +www/index.html +www/manifest.json +www/robots.txt +www/security.txt +www/res/icon_192.png +www/res/icon_512.png +www/res/main.js +www/res/icon.svg +www/res/main.js.map +www/res/style.css diff --git a/clientwww/Makefile b/clientwww/Makefile index 7f9ed5e..b19c631 100644 --- a/clientwww/Makefile +++ b/clientwww/Makefile @@ -24,7 +24,7 @@ build: @echo "Compressing files [CSS]..." @csso res/style.css > ../www/res/style.css @echo "Compressing files [JS]..." - @terser res/main.js -m -c --toplevel --mangle-props --name-cache ../www/res/main.js.map > ../www/res/main.js + @terser res/main.js -m -c --toplevel --name-cache ../www/res/main.js.map > ../www/res/main.js @echo "Compressing files [HTML]..." @html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --collapse-boolean-attributes index.html > ../www/index.html @echo "Starting server..." diff --git a/clientwww/index.html b/clientwww/index.html index 05c206a..31e2b62 100644 --- a/clientwww/index.html +++ b/clientwww/index.html @@ -3,7 +3,7 @@ - + diff --git a/clientwww/res/main.js b/clientwww/res/main.js index 2418130..b5b8b1f 100644 --- a/clientwww/res/main.js +++ b/clientwww/res/main.js @@ -3,7 +3,7 @@ // ========== // Settings -const API_ENDPOINT = "http://localhost:8080/v2/"; +const API_ENDPOINT = "https://api.rkt.one/v2/"; // ========== // API