new structire
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-10-22 15:56:19 +10:00
parent c71f3e1011
commit 97baca05a7
9 changed files with 5 additions and 203 deletions

View File

@@ -12,7 +12,7 @@ export class ApiChatService {
getPosts(): Observable<SinglePost[]> {
console.log("Получаю данные из сервиса");
return this.http.get<SinglePost[]>('http://localhost:7141/List');
return this.http.get<SinglePost[]>('http://api.vdk2ch.ru:5000/List/');
}
sendPostToApi(text: string) {
@@ -23,6 +23,6 @@ export class ApiChatService {
Id: 0,
Text: text
}
return this.http.post('http://localhost:7141/PostTo', postToSend)
return this.http.post('http://api.vdk2ch.ru:5000/PostTo', postToSend)
}
}