updating readme, removing proxy, quick fix

This commit is contained in:
Elijah Lucian
2021-07-15 17:27:58 -06:00
parent f216adb3b2
commit 617435ae18
4 changed files with 13 additions and 6 deletions

View File

@@ -2,7 +2,6 @@
"name": "frontend",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:8000",
"dependencies": {
"@dank-inc/data-buddy": "^0.2.0",
"@testing-library/react": "^11.1.0",

View File

@@ -15,7 +15,7 @@ export const Login = () => {
const handleFinish = async ({ username, password }: FormValues) => {
try {
const res = await appContext.post('/dj-rest-auth/login', {
const res = await appContext.post('/dj-rest-auth/login/', {
username,
password,
})