Rewrite using typescript, integrate the latest changes from @mwarning/openwrt-firmware-selector

This commit is contained in:
Sudhanshu Gautam 2021-01-10 19:56:13 +05:30
parent d5c4ea592a
commit ce4c36622b
47 changed files with 5269 additions and 5282 deletions

24
src/config.ts Normal file
View file

@ -0,0 +1,24 @@
/* exported config */
const config = {
// Show help text for images
show_help: true,
// Path to overview.json file or URL to the ASU API
versions: { '19.07.5': 'data/19.07.5', SNAPSHOT: 'data/SNAPSHOT' },
// Pre-selected version (optional)
default_version: '19.07.5',
// Image download URL (optional)
image_url: 'https://downloads.openwrt.org/releases/{version}/{target}',
// Info link URL (optional)
info_url: 'https://openwrt.org/start?do=search&id=toh&q={title}',
// Build custom images (optional)
// See https://github.com/aparcar/asu
// asu_url: 'https://chef.libremesh.org'
};
export default config;