first bang implementation

This commit is contained in:
Fabian Freund
2024-06-10 03:08:23 +02:00
parent 9ae08409fe
commit 388eba93b7
47 changed files with 3809 additions and 34 deletions
@@ -36,6 +36,7 @@ Uri summarizerUri({
_baseUrl.replace(
pathSegments: [
'summarizer',
//TODO: check if really necessary
'index.html',
],
queryParameters: {
@@ -47,8 +48,3 @@ Uri summarizerUri({
_ => null,
},
);
Uri searchUri({required String searchQuery}) => _baseUrl.replace(
pathSegments: ['search'],
queryParameters: {'q': searchQuery},
);