Skip to content

Commit 9774cf6

Browse files
committed
feature: add upload file permissions to search-component api keys
1 parent 0c1d2f5 commit 9774cf6

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

frontends/dashboard/src/components/Routes.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ export const ApiRoutes = {
4141
"GET /api/chunk/{chunk_id}",
4242
"GET /api/chunk_group/tracking_id/{tracking_id}",
4343
"GET /api/chunk_group/{group_id}",
44+
"POST /api/file",
45+
"GET /api/file/{file_id}",
4446
],
4547
"api/analytics/*": [
4648
"POST /api/analytics/rag",

server/src/public/product.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
class="mx-auto mt-10 sm:mt-12 lg:mt-14 py-4 px-4 sm:px-6 lg:max-w-7xl lg:px-8"
55
>
66
{% if params.singleProductOptions.productDescriptionHtml %}
7-
<section class="lg:flex gap-2 lg:gap-x-8 lg:gap-y-10 xl:gap-x-16 py-2">
7+
<section class="lg:flex gap-4 lg:gap-x-8 lg:gap-y-10 xl:gap-x-16 py-2">
88
<div class="lg:w-1/2">
99
<img
1010
src="{{ params.singleProductOptions.productPrimaryImageUrl }}"

0 commit comments

Comments
 (0)