From 0a842c885244e90ab3fa880c36f22dc6c2f339ef Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 29 Jun 2026 02:01:06 -0400 Subject: [PATCH] Point frontend at backend on port 9001 8000/9000 were occupied by other local services; use 9001. Co-Authored-By: Claude Opus 4.8 --- README.md | 4 ++-- tl/src/tl/api.cljs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6ac63aa..7cf4ad4 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,10 @@ python -m venv .venv && .venv/bin/pip install -r requirements.txt .venv/bin/python manage.py migrate DJANGO_SUPERUSER_PASSWORD=admin .venv/bin/python manage.py createsuperuser --noinput --username admin --email admin@example.com .venv/bin/python manage.py seed_demo # demo project from tl/.../one_two_three.otio -.venv/bin/python manage.py runserver +.venv/bin/python manage.py runserver 9001 ``` -Admin: (admin / admin). Upload OTIO and inspect +Admin: (admin / admin). Upload OTIO and inspect the scene JSON there. ### API (session auth; 401 if not logged in) diff --git a/tl/src/tl/api.cljs b/tl/src/tl/api.cljs index babc0ad..db09ebc 100644 --- a/tl/src/tl/api.cljs +++ b/tl/src/tl/api.cljs @@ -1,11 +1,11 @@ (ns tl.api "Thin fetch wrapper around the Django backend. Functions dispatch re-frame events on completion (qualified keywords, to avoid a require cycle with - tl.events). Same host as the page, port 8000, with the session cookie." + tl.events). Same host as the page, port 9001, with the session cookie." (:require [re-frame.core :as rf])) (def base - (str (.. js/window -location -protocol) "//" (.. js/window -location -hostname) ":8000")) + (str (.. js/window -location -protocol) "//" (.. js/window -location -hostname) ":9001")) (defn- ->clj [x] (js->clj x :keywordize-keys true))