Skip to content

Commit

Permalink
Final 4.0.0 push
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanovazzocell committed Dec 15, 2021
1 parent c805e47 commit 44a7868
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion clientwww/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down
2 changes: 1 addition & 1 deletion clientwww/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: https://api.rkt.one; script-src 'self'; img-src 'self' data:; object-src 'none'; require-trusted-types-for 'script';"> -->
<!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: https://api.rkt.one; script-src 'self'; img-src 'none'; object-src 'none'; require-trusted-types-for 'script';"> -->
<meta name="theme-color" content="#28acf6">
<meta name="apple-mobile-web-app-status-bar-style" content="#28acf6">
<link rel="apple-touch-icon" href="/res/icon_192.png">
Expand Down
2 changes: 1 addition & 1 deletion clientwww/res/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// ==========
// Settings

const API_ENDPOINT = "http://localhost:8080/v2/";
const API_ENDPOINT = "https://api.rkt.one/v2/";

// ==========
// API
Expand Down

0 comments on commit 44a7868

Please sign in to comment.