- Added CORS allowed origins in config.compose.yaml to enable cross-origin requests from the web service. - Updated docker-compose.yml to include a new web service with build context and port mapping for local development. - Enhanced gateway.go to support additional HTTP methods in CORS responses. - Updated README.md to document the new web service and its configuration requirements.
22 lines
571 B
Svelte
22 lines
571 B
Svelte
<script lang="ts">
|
|
import { cn, type WithElementRef } from "$lib/utils.js";
|
|
import type { HTMLAttributes } from "svelte/elements";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
children,
|
|
...restProps
|
|
}: WithElementRef<HTMLAttributes<HTMLUListElement>> = $props();
|
|
</script>
|
|
|
|
<ul
|
|
bind:this={ref}
|
|
data-slot="sidebar-menu-sub"
|
|
data-sidebar="menu-sub"
|
|
class={cn("border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden flex min-w-0 flex-col", className)}
|
|
{...restProps}
|
|
>
|
|
{@render children?.()}
|
|
</ul>
|