fix autocomplete + buildate, move exampels
authorPaul Spooren <mail@aparcar.org>
Sat, 6 Jun 2020 08:41:21 +0000 (22:41 -1000)
committerPaul Spooren <mail@aparcar.org>
Sat, 6 Jun 2020 08:41:21 +0000 (22:41 -1000)
commit964e5c096e35f1e27113b5c92f4f16242dd2f798
tree41552a46b5de6750a8f722a085f373fb48b5b361
parentfeb84008b7fc35d6241887a144c79ab37b8a23b8
fix autocomplete + buildate, move exampels

autocomplete never worked because of wrong files naming. The package
index file is called `index.json` and now available on the ASU server.

The build date never worked for images created by the official OpenWrt
build bots, fixed by reading the `last-modified` header.

Examples files are now in their own folders to follow the structure of
ASU, which offers not only profiles but also package information in the
version folders.

Signed-off-by: Paul Spooren <mail@aparcar.org>
config.js
index.js
misc/18.06.7/profiles.json [new file with mode: 0644]
misc/19.07.1/profiles.json [new file with mode: 0644]
misc/names-18.06.7.json [deleted file]
misc/names-19.07.1.json [deleted file]
misc/names-SNAPSHOT.json [deleted file]
misc/snapshot/profiles.json [new file with mode: 0644]