Added Version checking to verify that a version of NGINX exists. Adds nginx download page to cache. Also added a few check before sending requests to the API. No visual Changes #3

Merged
5gi merged 4 commits from 5gi/NginxInstaller:master into master 2023-12-21 21:16:44 +00:00
Showing only changes of commit 00e5c29393 - Show all commits

2
app.js
View File

@ -1,6 +1,6 @@
document.getElementById("submit").addEventListener("click", generateQuickCmd, false); document.getElementById("submit").addEventListener("click", generateQuickCmd, false);
const debug = true; // DISABLE FOR PRODUCTION const debug = false; // DISABLE FOR PRODUCTION
const baseURL = debug ? "http://localhost:8081/ngx" : "https://dev.nevets.tech/ngx"; const baseURL = debug ? "http://localhost:8081/ngx" : "https://dev.nevets.tech/ngx";
const service = "[Unit]\n" + const service = "[Unit]\n" +