Change file conf name, fix peer url
This commit is contained in:
parent
451c8aceec
commit
c7d6308c09
@ -1,31 +0,0 @@
|
||||
Extension Discovery Cache
|
||||
=========================
|
||||
|
||||
This folder is used by `package:extension_discovery` to cache lists of
|
||||
packages that contains extensions for other packages.
|
||||
|
||||
DO NOT USE THIS FOLDER
|
||||
----------------------
|
||||
|
||||
* Do not read (or rely) the contents of this folder.
|
||||
* Do write to this folder.
|
||||
|
||||
If you're interested in the lists of extensions stored in this folder use the
|
||||
API offered by package `extension_discovery` to get this information.
|
||||
|
||||
If this package doesn't work for your use-case, then don't try to read the
|
||||
contents of this folder. It may change, and will not remain stable.
|
||||
|
||||
Use package `extension_discovery`
|
||||
---------------------------------
|
||||
|
||||
If you want to access information from this folder.
|
||||
|
||||
Feel free to delete this folder
|
||||
-------------------------------
|
||||
|
||||
Files in this folder act as a cache, and the cache is discarded if the files
|
||||
are older than the modification time of `.dart_tool/package_config.json`.
|
||||
|
||||
Hence, it should never be necessary to clear this cache manually, if you find a
|
||||
need to do please file a bug.
|
@ -1 +0,0 @@
|
||||
{"version":2,"entries":[{"package":"flutter_flow_chart","rootUri":"../library/flutter_flow_chart/","packageUri":"lib/"},{"package":"oc_front","rootUri":"../","packageUri":"lib/"}]}
|
@ -51,9 +51,9 @@
|
||||
},
|
||||
{
|
||||
"name": "collection",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.18.0",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.19.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.18"
|
||||
"languageVersion": "3.4"
|
||||
},
|
||||
{
|
||||
"name": "convert",
|
||||
@ -201,9 +201,9 @@
|
||||
},
|
||||
{
|
||||
"name": "flutter_lints",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.5"
|
||||
"languageVersion": "3.1"
|
||||
},
|
||||
{
|
||||
"name": "flutter_map",
|
||||
@ -315,13 +315,13 @@
|
||||
},
|
||||
{
|
||||
"name": "leak_tracker",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.7",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.2"
|
||||
},
|
||||
{
|
||||
"name": "leak_tracker_flutter_testing",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.2"
|
||||
},
|
||||
@ -333,9 +333,9 @@
|
||||
},
|
||||
{
|
||||
"name": "lints",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-5.0.0",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-4.0.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.5"
|
||||
"languageVersion": "3.1"
|
||||
},
|
||||
{
|
||||
"name": "lists",
|
||||
@ -555,9 +555,9 @@
|
||||
},
|
||||
{
|
||||
"name": "stack_trace",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.11.1",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.12.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.18"
|
||||
"languageVersion": "3.4"
|
||||
},
|
||||
{
|
||||
"name": "star_menu",
|
||||
@ -573,9 +573,9 @@
|
||||
},
|
||||
{
|
||||
"name": "string_scanner",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.2.0",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.3.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "2.18"
|
||||
"languageVersion": "3.1"
|
||||
},
|
||||
{
|
||||
"name": "super_clipboard",
|
||||
@ -627,9 +627,9 @@
|
||||
},
|
||||
{
|
||||
"name": "test_api",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.2",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.3",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.2"
|
||||
"languageVersion": "3.4"
|
||||
},
|
||||
{
|
||||
"name": "timezone",
|
||||
@ -681,7 +681,7 @@
|
||||
},
|
||||
{
|
||||
"name": "vm_service",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.2.5",
|
||||
"rootUri": "file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.3.0",
|
||||
"packageUri": "lib/",
|
||||
"languageVersion": "3.3"
|
||||
},
|
||||
@ -728,10 +728,10 @@
|
||||
"languageVersion": "3.3"
|
||||
}
|
||||
],
|
||||
"generated": "2024-12-18T09:02:08.495042Z",
|
||||
"generated": "2025-01-09T14:13:17.895902Z",
|
||||
"generator": "pub",
|
||||
"generatorVersion": "3.5.4",
|
||||
"generatorVersion": "3.6.0",
|
||||
"flutterRoot": "file:///home/opencloud/Tools/flutter",
|
||||
"flutterVersion": "3.24.5",
|
||||
"flutterVersion": "3.27.1",
|
||||
"pubCache": "file:///home/opencloud/.pub-cache"
|
||||
}
|
||||
|
@ -31,9 +31,9 @@ clock
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/clock-1.1.1/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/clock-1.1.1/lib/
|
||||
collection
|
||||
2.18
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.18.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.18.0/lib/
|
||||
3.4
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.19.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/collection-1.19.0/lib/
|
||||
convert
|
||||
2.18
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/convert-3.1.1/
|
||||
@ -123,9 +123,9 @@ flutter_event_calendar
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_event_calendar-1.0.0/lib/
|
||||
flutter_lints
|
||||
3.5
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0/lib/
|
||||
3.1
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0/lib/
|
||||
flutter_map
|
||||
3.0
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/flutter_map-7.0.2/
|
||||
@ -192,20 +192,20 @@ file:///home/opencloud/.pub-cache/hosted/pub.dev/latlong2-0.9.1/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/latlong2-0.9.1/lib/
|
||||
leak_tracker
|
||||
3.2
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.5/lib/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.7/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker-10.0.7/lib/
|
||||
leak_tracker_flutter_testing
|
||||
3.2
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.5/lib/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.8/lib/
|
||||
leak_tracker_testing
|
||||
3.2
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.1/lib/
|
||||
lints
|
||||
3.5
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-5.0.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-5.0.0/lib/
|
||||
3.1
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-4.0.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/lints-4.0.0/lib/
|
||||
lists
|
||||
2.12
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/lists-1.0.1/
|
||||
@ -347,9 +347,9 @@ sprintf
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/sprintf-7.0.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/sprintf-7.0.0/lib/
|
||||
stack_trace
|
||||
2.18
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.11.1/lib/
|
||||
3.4
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.12.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/stack_trace-1.12.0/lib/
|
||||
star_menu
|
||||
3.2
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/star_menu-4.0.1/
|
||||
@ -359,9 +359,9 @@ stream_channel
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/stream_channel-2.1.2/lib/
|
||||
string_scanner
|
||||
2.18
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.2.0/lib/
|
||||
3.1
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.3.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/string_scanner-1.3.0/lib/
|
||||
super_clipboard
|
||||
3.0
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/super_clipboard-0.8.19/
|
||||
@ -395,9 +395,9 @@ term_glyph
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/term_glyph-1.2.1/lib/
|
||||
test_api
|
||||
3.2
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.2/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.2/lib/
|
||||
3.4
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.3/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/test_api-0.7.3/lib/
|
||||
timezone
|
||||
2.19
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/timezone-0.9.4/
|
||||
@ -432,8 +432,8 @@ file:///home/opencloud/.pub-cache/hosted/pub.dev/vector_math-2.1.4/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/vector_math-2.1.4/lib/
|
||||
vm_service
|
||||
3.3
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.2.5/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.2.5/lib/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.3.0/
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/vm_service-14.3.0/lib/
|
||||
web
|
||||
3.3
|
||||
file:///home/opencloud/.pub-cache/hosted/pub.dev/web-0.5.1/
|
||||
|
@ -1 +1 @@
|
||||
3.24.5
|
||||
3.27.1
|
File diff suppressed because one or more lines are too long
@ -4,7 +4,7 @@
|
||||
"ITEM_HOST": "http://beta.opencloud.com/item/oc",
|
||||
"SCHEDULER_HOST": "http://beta.opencloud.com/workspace/scheduler/oc",
|
||||
"LOGS_HOST": "http://localhost:3100",
|
||||
"PEER_HOST": "http://beta.opencloud.com/peer/oc",
|
||||
"PEER_HOST": "http://beta.opencloud.com/peers/oc",
|
||||
"DATACENTER_HOST": "http://beta.opencloud.com/datacenter/oc",
|
||||
"COLLABORATIVE_AREA_HOST": "http://beta.opencloud.com/shared/oc",
|
||||
"HOST": "http://beta.opencloud.com/oc",
|
||||
|
@ -10,7 +10,8 @@ class AppConfig {
|
||||
factory AppConfig() => _instance;
|
||||
|
||||
Future<void> loadConfig() async {
|
||||
final response = await rootBundle.loadString('assets/config/front.json');
|
||||
final response =
|
||||
await rootBundle.loadString('assets/config/front_k8s.json');
|
||||
_config = Map<String, String>.from(json.decode(response));
|
||||
print('Config loaded: $_config');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user