makes upload folder variable
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
API_URL="http://localhost:3000/api/v1"
|
||||
|
||||
# Folder containing files to upload
|
||||
UPLOAD_FOLDER="/app/uploads"
|
||||
UPLOAD_FOLDER=$UPLOAD_FOLDER
|
||||
|
||||
# Credentials for login
|
||||
USERNAME=$UPLOAD_USER
|
||||
|
||||
@@ -62,9 +62,7 @@ export async function oauth_login(data: { name: string, code: string, codeVerifi
|
||||
const r = await fetch('/api/v1/auth/oauth', {
|
||||
method: 'POST',
|
||||
body: JSON.stringify(data)
|
||||
})
|
||||
console.log(r);
|
||||
|
||||
})
|
||||
|
||||
if (r.ok) {
|
||||
pb.authStore.loadFromCookie(document.cookie)
|
||||
|
||||
Reference in New Issue
Block a user