feat(web): update app api
This commit is contained in:
@@ -29,7 +29,7 @@ const Api: FC<{ application: Application | null }> = ({ application }) => {
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
const activeMethods = ['POST'];
|
const activeMethods = ['POST'];
|
||||||
const { message, modal } = App.useApp()
|
const { message, modal } = App.useApp()
|
||||||
const copyContent = window.location.origin + '/v1/chat'
|
const copyContent = window.location.origin + '/v1/app/chat'
|
||||||
const apiKeyModalRef = useRef<ApiKeyModalRef>(null);
|
const apiKeyModalRef = useRef<ApiKeyModalRef>(null);
|
||||||
const apiKeyConfigModalRef = useRef<ApiKeyConfigModalRef>(null);
|
const apiKeyConfigModalRef = useRef<ApiKeyConfigModalRef>(null);
|
||||||
const [apiKeyList, setApiKeyList] = useState<ApiKey[]>([])
|
const [apiKeyList, setApiKeyList] = useState<ApiKey[]>([])
|
||||||
|
|||||||
Reference in New Issue
Block a user