add account localization and switchable rooms
Centralize control and OBS copy in a shared TOML catalog, persist the selected locale per account, and broadcast language changes to component streams. Allow account owners to atomically switch their Bilibili room and restart the shared listener without changing component URLs.
This commit is contained in:
@@ -2,6 +2,7 @@ FROM node:22-bookworm-slim AS web-build
|
||||
WORKDIR /app/apps/overlay
|
||||
COPY apps/overlay/package.json apps/overlay/package-lock.json ./
|
||||
RUN npm ci
|
||||
COPY resources /app/resources
|
||||
COPY apps/overlay ./
|
||||
RUN npm run build
|
||||
|
||||
@@ -14,6 +15,7 @@ COPY apps/server-rust/Cargo.toml apps/server-rust/Cargo.lock ./apps/server-rust/
|
||||
COPY --from=libilibili . /libilibili
|
||||
COPY apps/server-rust/src ./apps/server-rust/src
|
||||
COPY apps/server-rust/migrations ./apps/server-rust/migrations
|
||||
COPY resources ./resources
|
||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/app/target-cache \
|
||||
CARGO_TARGET_DIR=/app/target-cache cargo build --manifest-path apps/server-rust/Cargo.toml --release && \
|
||||
|
||||
Reference in New Issue
Block a user