mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 22:09:25 +00:00
Fix issue introduced with the "Installed Packages"
Signed-off-by: Sudhanshu Gautam <me@sudhanshug.com>
This commit is contained in:
parent
ce4d2e1436
commit
dd6624c322
2 changed files with 967 additions and 989 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
import axios from 'axios';
|
import axios from 'axios';
|
||||||
|
|
||||||
|
const base =
|
||||||
|
'https://cors-anywhere.herokuapp.com/https://aparcar.stephen304.com';
|
||||||
const base_downloads =
|
const base_downloads =
|
||||||
'https://cors-anywhere.herokuapp.com/https://aparcar.stephen304.com/download/json-demo/openwrt/';
|
'https://cors-anywhere.herokuapp.com/https://aparcar.stephen304.com/download/json-demo/openwrt/';
|
||||||
const base_api =
|
const base_api =
|
||||||
|
|
@ -12,6 +14,8 @@ class DataService {
|
||||||
|
|
||||||
getDeviceData = device_path => axios.get(base_downloads + device_path);
|
getDeviceData = device_path => axios.get(base_downloads + device_path);
|
||||||
|
|
||||||
|
getDeviceManifest = manifest_path => axios.get(base + manifest_path);
|
||||||
|
|
||||||
getDevicePackages = (version, target, profile) =>
|
getDevicePackages = (version, target, profile) =>
|
||||||
axios.get(
|
axios.get(
|
||||||
base_api +
|
base_api +
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue