From fa92bc1c5c75e0cf87e76b157e8079e62de11180 Mon Sep 17 00:00:00 2001 From: RakVhalate Date: Sat, 12 Nov 2022 04:06:22 +1000 Subject: [PATCH] Quick fix, set default board name. --- src/app/boards/boards.component.html | 2 +- src/app/boards/boards.component.ts | 1 + src/app/services/api-chat.service.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/boards/boards.component.html b/src/app/boards/boards.component.html index e9c81d5..2ea1a1b 100644 --- a/src/app/boards/boards.component.html +++ b/src/app/boards/boards.component.html @@ -1,7 +1,7 @@
свiня , -

/postgres/

+

{{boardName}}

{ //console.log("Получаю посты и картинки"); - //return this.http.get('http://api.vdk2ch.ru:5000/List/?board=' + boardName); - return this.http.get('http://localhost:7141/List/?board=' + boardName); + return this.http.get('http://api.vdk2ch.ru:5000/List/?board=' + boardName); + //return this.http.get('http://localhost:7141/List/?board=' + boardName); } sendPostToApi(text: string, imgUrl: string) {