initial commit
This commit is contained in:
10
lib/data/endpoint.dart
Normal file
10
lib/data/endpoint.dart
Normal file
@@ -0,0 +1,10 @@
|
||||
class WikipediaEndpoints {
|
||||
WikipediaEndpoints._();
|
||||
|
||||
static const String wikipediaUrl = "http://192.168.170.86:8080";
|
||||
|
||||
static String getAllArticles(String title) =>
|
||||
'$wikipediaUrl/articles?title=$title';
|
||||
|
||||
static const String downloadArticles = '$wikipediaUrl/download-articles';
|
||||
}
|
||||
Reference in New Issue
Block a user