Skip to content

Commit 097ee79

Browse files
committed
dart: reserve defaultRemoteBaseUrl for remote mode
1 parent ea21fc8 commit 097ee79

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

lib/ctrl/configure.dart

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,28 @@
11
bool localMode = true;
22

3+
/*
4+
* /nodebase.json
5+
* /plm-<os>-<arch>.json
6+
* /plm/<os>/<arch>/<hash>(<name>-<version>).json
7+
* /app-<os>-<arch>.json
8+
* /app/<os>/<arch>/<hash>(<name>-<version>).json
9+
*/
310
String defaultPlatformBaseUrl = "https://raw.githubusercontent.com/wiki/dna2github/NodeBase/market/v1";
411
//String defaultPlatformBaseUrl = "http://127.0.0.1:8000";
12+
13+
/*
14+
* /app/running GET
15+
* /app/start POST
16+
* /app/stop POST
17+
* /app/stat GET
18+
* /config/nodebase GET
19+
* /config/list/plm GET
20+
* /config/list/installed_plm GET
21+
* /config/install/plm/<hash> POST
22+
* /config/meta/plm/<hash> GET
23+
* /config/list/app GET
24+
* /config/list/installed_app GET
25+
* /config/install/app/<hash> POST
26+
* /config/meta/app/<hash> GET
27+
*/
28+
String defaultRemoteBaseUrl = "http://127.0.0.1:8580";

0 commit comments

Comments
 (0)