Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "harperdb-studio",
"version": "4.6.0",
"version": "4.6.1",
"description": "A UI for HarperDB",
"deploymentUrl": "studio.harperdb.io",
"private": true,
Expand Down Expand Up @@ -84,5 +84,6 @@
"stylelint-order": "^6.0.1",
"stylelint-scss": "^6.0.0",
"typescript": "^5.6.2"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
5 changes: 3 additions & 2 deletions src/components/instances/new/MetaLocal.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function MetaLocal() {
<>
<Card>
<CardBody>
<ContentContainer header="Instance Name" subheader="letters, numbers, and hyphens only. 16 char max.">
<ContentContainer header="Instance Name" subheader="letters, numbers, and hyphens only. 14 char max.">
<Row>
<Col sm="4" className="pt-2 text-nowrap text-grey">
Example: &quot;local-1&quot;
Expand All @@ -113,10 +113,11 @@ function MetaLocal() {
.replace(/^0+/, '')
.replace(/^-+/, '')
.replace(/[^a-z\d-]+/gi, '')
.substring(0, 15)
.substring(0, 14)
.toLowerCase(),
})
}
max={14}
type="text"
title="instance_name"
value={formData.instance_name}
Expand Down
2 changes: 1 addition & 1 deletion src/functions/api/queryInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async ({ operation, auth, url, timeout = 0, authType = undefined,
method: 'POST',
body: JSON.stringify(operation),
headers,
credentials: 'include',
credentials: headers.Authorization ? 'omit' : 'include',
});

clearTimeout(id);
Expand Down