-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #30 from AishwaryVishwakarma/master
Sync Up
- Loading branch information
Showing
3 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
NEXT_PUBLIC_HOST=https://fundamentals-server.onrender.com/ | ||
NEXT_PUBLIC_HOST=https://lazy-pink-seagull-toga.cyclic.app/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
const port = 8000; | ||
export const login = `${process.env.NEXT_PUBLIC_HOST}login`; // post / get | ||
|
||
export const login = `http://localhost:${port}/login`; // post / get | ||
export const signup = `${process.env.NEXT_PUBLIC_HOST}signup`; // post | ||
|
||
export const signup = `http://localhost:${port}/signup`; // post | ||
export const checkUser = `${process.env.NEXT_PUBLIC_HOST}checkuser`; // post | ||
|
||
export const checkUser = `http://localhost:${port}/checkuser`; // post | ||
export const setSubscription = `${process.env.NEXT_PUBLIC_HOST}set-subscription`; // post | ||
|
||
export const setSubscription = `http://localhost:${port}/set-subscription`; // post | ||
export const userProfile = `${process.env.NEXT_PUBLIC_HOST}profiles/`; //post (need user id at the end) | ||
|
||
export const userProfile = `http://localhost:${port}/profiles/`; //post (need user id at the end) | ||
export const createProfile = `${process.env.NEXT_PUBLIC_HOST}create-profile`; // post | ||
|
||
export const createProfile = `http://localhost:${port}/create-profile`; // post | ||
export const deleteProfile = `${process.env.NEXT_PUBLIC_HOST}delete-profile/`; // delete (need user id at the end) | ||
|
||
export const deleteProfile = `http://localhost:${port}/delete-profile/`; // delete (need user id at the end) | ||
|
||
export const updateProfile = `http://localhost:${port}/update-profile/`; // put (need user id at the end) | ||
export const updateProfile = `${process.env.NEXT_PUBLIC_HOST}update-profile/`; // put (need user id at the end) |