Add new user paths, update user routing to new (WORKING!) user auth version of BE
This commit is contained in:
parent
f5466faa70
commit
d3064fd764
5 changed files with 54 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
const BACKEND_URL = process.env.BACKEND_URL;
|
||||
|
||||
export async function POST(request: Request) {
|
||||
const response = await fetch(`${BACKEND_URL}/users/token`, request);
|
||||
const response = await fetch(`${BACKEND_URL}/users/auth`, request);
|
||||
|
||||
const data = await response.json();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue