Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ciur committed Jul 18, 2024
1 parent 5cb5e9e commit ba57736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui2/src/slices/uploader/uploader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export const uploadFile = createAsyncThunk<UploadFileOutput, UploadFileInput>(
* 1. POST /api/nodes/ - create node database entry (without associated file)
* 2. POST /api/documents/<id from previous step>/upload/
*/
const baseUrl = getBaseURL()
const baseUrl = getBaseURL() || "/"
let defaultHeaders = getDefaultHeaders()
const data1: CreateDocumentType = {
title: args.file.name,
Expand Down

0 comments on commit ba57736

Please sign in to comment.