From e376c115beee4393e7404e0061ae7bca6c027f53 Mon Sep 17 00:00:00 2001 From: Joao Paiva Date: Thu, 9 Mar 2023 09:10:57 -0300 Subject: [PATCH] fix:burrice --- docker-compose.yml | 4 ++-- frontend/.env | 4 ++-- frontend/src/pages/Notifications.vue | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 5b486d7..30d9c72 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,11 +9,11 @@ services: # - POSTGRES_PASSWORD=postgres web: build: . - command: python manage.py runserver 0.0.0.0:8000 && python manage.py migrate && python manage.py migrate feed 0012 --fake && python manage.py migrate && python manage.py migrate twikkerprofile 0006 --fake && python manage.py migrate + command: python manage.py runserver 0.0.0.0:7000 && python manage.py migrate && python manage.py migrate feed 0012 --fake && python manage.py migrate && python manage.py migrate twikkerprofile 0006 --fake && python manage.py migrate volumes: - .:/code ports: - - "8000:8000" + - "7000:7000" environment: - POSTGRES_NAME=postgres - POSTGRES_USER=postgres diff --git a/frontend/.env b/frontend/.env index f11fc6f..713d03a 100644 --- a/frontend/.env +++ b/frontend/.env @@ -1,2 +1,2 @@ -VITE_API_BASE_URL = 'http://localhost:8000' -VITE_SOCKET_HOST = 'localhost:8000' +VITE_API_BASE_URL = 'http://localhost:7000' +VITE_SOCKET_HOST = 'localhost:7000' diff --git a/frontend/src/pages/Notifications.vue b/frontend/src/pages/Notifications.vue index 1ecf5c8..d1981af 100644 --- a/frontend/src/pages/Notifications.vue +++ b/frontend/src/pages/Notifications.vue @@ -19,7 +19,7 @@ {{ formatted_time(notification.created_at) }} - {{ notification.created_by_username }} começou router-link te + {{ notification.created_by_username }} começou a te seguir {{ formatted_time(notification.created_at) }}