Update repository URLs to use langflow-ai instead of logspace-ai (#1642)
* Update repository URLs to use langflow-ai instead of logspace-ai * Update chat-widget.mdx to remove unnecessary imports and dependencies
This commit is contained in:
parent
452eb224d7
commit
cc62a1f665
22 changed files with 110 additions and 102 deletions
|
|
@ -28,7 +28,7 @@ export default function CrashErrorComponent({
|
|||
<p>
|
||||
Please report errors with detailed tracebacks on the{" "}
|
||||
<a
|
||||
href="https://github.com/logspace-ai/langflow/issues"
|
||||
href="https://github.com/langflow-ai/langflow/issues"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="font-medium hover:underline "
|
||||
|
|
@ -47,7 +47,7 @@ export default function CrashErrorComponent({
|
|||
<Button onClick={resetErrorBoundary}>Restart Langflow</Button>
|
||||
|
||||
<a
|
||||
href="https://github.com/logspace-ai/langflow/issues/new"
|
||||
href="https://github.com/langflow-ai/langflow/issues/new"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ export default function Header(): JSX.Element {
|
|||
<div className="header-end-division lg:w-[30%]">
|
||||
<div className="header-end-display">
|
||||
<a
|
||||
href="https://github.com/logspace-ai/langflow"
|
||||
href="https://github.com/langflow-ai/langflow"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="header-github-link gap-2"
|
||||
|
|
|
|||
|
|
@ -46,9 +46,9 @@ function ApiInterceptor() {
|
|||
|
||||
const isAuthorizedURL = (url) => {
|
||||
const authorizedDomains = [
|
||||
"https://raw.githubusercontent.com/logspace-ai/langflow_examples/main/examples",
|
||||
"https://api.github.com/repos/logspace-ai/langflow_examples/contents/examples",
|
||||
"https://api.github.com/repos/logspace-ai/langflow",
|
||||
"https://raw.githubusercontent.com/langflow-ai/langflow_examples/main/examples",
|
||||
"https://api.github.com/repos/langflow-ai/langflow_examples/contents/examples",
|
||||
"https://api.github.com/repos/langflow-ai/langflow",
|
||||
"auto_login",
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ export async function postValidatePrompt(
|
|||
*/
|
||||
export async function getExamples(): Promise<FlowType[]> {
|
||||
const url =
|
||||
"https://api.github.com/repos/logspace-ai/langflow_examples/contents/examples?ref=main";
|
||||
"https://api.github.com/repos/langflow-ai/langflow_examples/contents/examples?ref=main";
|
||||
const response = await api.get(url);
|
||||
|
||||
const jsonFiles = response.data.filter((file: any) => {
|
||||
|
|
|
|||
|
|
@ -456,7 +456,7 @@ export function getWidgetCode(
|
|||
const inputs = buildInputs();
|
||||
let chat_input_field = getChatInputField(flowState);
|
||||
|
||||
return `<script src="https://cdn.jsdelivr.net/gh/logspace-ai/langflow-embedded-chat@1.0_alpha/dist/build/static/js/bundle.min.js"></script>
|
||||
return `<script src="https://cdn.jsdelivr.net/gh/langflow-ai/langflow-embedded-chat@1.0_alpha/dist/build/static/js/bundle.min.js"></script>
|
||||
|
||||
<langflow-chat
|
||||
window_title="${flowName}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue