Timothy Jaeryang Baek 4 月之前
父節點
當前提交
e4b4a78e52
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      src/lib/components/admin/Settings/General.svelte

+ 11 - 0
src/lib/components/admin/Settings/General.svelte

@@ -139,6 +139,17 @@
 								placeholder={`e.g.) /api/v1/messages, /api/v1/channels`}
 								bind:value={adminConfig.API_KEY_ALLOWED_ENDPOINTS}
 							/>
+
+							<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
+								<!-- https://docs.openwebui.com/getting-started/advanced-topics/api-endpoints -->
+								<a
+									href="https://docs.openwebui.com/getting-started/advanced-topics/api-endpoints"
+									target="_blank"
+									class=" text-gray-300 font-medium underline"
+								>
+									{$i18n.t('To learn more about available endpoints, visit our documentation.')}
+								</a>
+							</div>
 						</div>
 					{/if}
 				{/if}