complete docker setup

This commit is contained in:
Danny Avila 2023-03-06 14:04:06 -05:00
parent ff7b016190
commit 52e529dcbe
12 changed files with 26 additions and 158506 deletions

View file

@ -9,7 +9,7 @@ import { setMessages } from '~/store/messageSlice';
export default function DeleteButton({ conversationId, renaming, cancelHandler }) {
const dispatch = useDispatch();
const { trigger } = manualSWR(
`http://localhost:3080/convos/clear`,
`http://api:3080/convos/clear`,
'post',
() => {
dispatch(setMessages([]));