Skip to content

Embedding Widget On Part of Page #5

@stondino00

Description

@stondino00

Hello,

How do we put the url of our openwebui server when this is embedded as a widget into a page and not a standalone full web page?

Can we put this somewhere in this code that we have embedded? Putting anything in the address bar is not available since this is embedded on a working web application.

<script type="module"> import ChatWidget, { mount } from 'https://your-cdn.com/ChatWidget.js'; mount(ChatWidget, { target: document.getElementById('chat-widget') }); </script>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions