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
2
app.js
2
app.js
@ -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" +
|
||||||
|
Loading…
Reference in New Issue
Block a user