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".
This commit is contained in:
gmemstr 2017-12-21 08:30:32 -08:00
parent 8b3c4afd2d
commit 8738164b8f
2 changed files with 8 additions and 1 deletions

7
assets/web/README.md Normal file
View file

@ -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

View file

@ -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<json.items.length; i++){