From 8738164b8fddcd3034f3349314d7958d37293e7a Mon Sep 17 00:00:00 2001 From: gmemstr Date: Thu, 21 Dec 2017 08:30:32 -0800 Subject: [PATCH] Made included web interface's purpose clearer Basically included web interface is being deprecated _for prod only_ in favour of new Vue.js interface in gmemstr/pogo-vue. Included web interface will be updated to ensure routes and features work properly and should not be considered "production ready". --- assets/web/README.md | 7 +++++++ assets/web/index.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 assets/web/README.md diff --git a/assets/web/README.md b/assets/web/README.md new file mode 100644 index 0000000..7fda603 --- /dev/null +++ b/assets/web/README.md @@ -0,0 +1,7 @@ +# What is this?! + +This is the _development version_ (DE) of the web interface for Pogo. + +It is not recommended you use this for your own deployment, and instead rely on the auto-setup feature of the binary. If you still insist manually deploying your own binary, please consider downloading the latest `webassets.zip` release from [gmemstr/pogo-vue](https://github.com/gmmestr/pogo-vue/releases/latest), which contains the production version of the Vue.js interface. The interface in this repository should be considered "canary" or "nightly", and for testing routes and features during development. Thanks! + +~ Gabe \ No newline at end of file diff --git a/assets/web/index.html b/assets/web/index.html index 18636a3..8a913c1 100644 --- a/assets/web/index.html +++ b/assets/web/index.html @@ -35,7 +35,7 @@ get("/json", function(data){ json = JSON.parse(data); document.title = json.title; - document.getElementById("title").innerHTML = json.title; + document.getElementById("title").innerHTML = json.title + " DEVELOPMENT MODE"; // Iterate through JSON for (i=0;i