diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d62b6c3 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.sh text eol=lf +docker/entrypoint.sh text eol=lf diff --git a/README.md b/README.md index 06679b4..92646c9 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ generated and printed on first boot). ### Option 1: Docker (recommended) ```bash -git clone +git clone https://github.com/pewdiepie-archdaemon/odysseus.git cd odysseus cp .env.example .env # optional, but recommended for explicit defaults docker compose up -d --build @@ -99,7 +99,7 @@ sudo dnf install tmux Then install Odysseus: ```bash -git clone +git clone https://github.com/pewdiepie-archdaemon/odysseus.git cd odysseus python3 -m venv venv source venv/bin/activate @@ -113,7 +113,7 @@ Windows support is not actively tested. Use it with caution; Docker on Linux or a Linux/macOS manual install is the safer path for now. ```powershell -git clone +git clone https://github.com/pewdiepie-archdaemon/odysseus.git cd odysseus python -m venv venv venv\Scripts\Activate.ps1 diff --git a/static/js/chatRenderer.js b/static/js/chatRenderer.js index 73b2d99..73b2eb6 100644 --- a/static/js/chatRenderer.js +++ b/static/js/chatRenderer.js @@ -659,7 +659,7 @@ export function isLocalEndpoint(url) { let host; try { host = new URL(url).hostname; } catch (_e) { return true; } if (!host) return true; - if (host === 'localhost' || host === '0.0.0.0' || host.endsWith('.local')) return true; + if (host === 'localhost' || host === '0.0.0.0' || host === 'host.docker.internal' || host.endsWith('.local')) return true; if (typeof window !== 'undefined' && window.location && host === window.location.hostname) return true; if (/^127\./.test(host)) return true; if (/^10\./.test(host)) return true; diff --git a/static/landing.html b/static/landing.html index 428f80b..c0a0b59 100644 --- a/static/landing.html +++ b/static/landing.html @@ -319,7 +319,7 @@ Testimonials How it started Get started - + GitHub @@ -346,7 +346,7 @@

@@ -560,9 +560,9 @@
Get started

Clone it and run

It's open source and free. No sales team, no demo request — just clone the repo.

-
$ git clone <your-repo-url> && cd odysseus-ui
+
$ git clone https://github.com/pewdiepie-archdaemon/odysseus.git && cd odysseus
- View on GitHub + View on GitHub
Self-hosted