Skip to content

can't register #55

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion public/.env.example

This file was deleted.

1,354 changes: 1,123 additions & 231 deletions public/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/src/utils/APIRoutes.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const host = "http://localhost:5000";
export const host = "http://localhost:3001";
export const loginRoute = `${host}/api/auth/login`;
export const registerRoute = `${host}/api/auth/register`;
export const logoutRoute = `${host}/api/auth/logout`;
Expand Down
3,356 changes: 1,800 additions & 1,556 deletions public/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion server/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PORT=5000
PORT=3001
MONGO_URL="mongodb://localhost:27017/chat"
2 changes: 0 additions & 2 deletions server/.env.example

This file was deleted.

2 changes: 1 addition & 1 deletion server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 5000
EXPOSE 3000

CMD ["npm","start"]
Loading