Skip to content

Commit 63d79da

Browse files
committed
chore: align extraction dependencies and document hosted routing
1 parent f2eaafb commit 63d79da

4 files changed

Lines changed: 4 additions & 81 deletions

File tree

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ Chat is a Sim-managed service. `npx sim-setup` connects a Chat API key for you
127127

128128
## Environment Variables
129129

130+
Authentication, the application, and docs live in this repository. The public marketing website builds and deploys independently. Self-hosted installations open authentication at `/` and require no website service. Hosted Sim uses `LANDING_INTERNAL_ORIGIN` for a bounded, credential-free server request for the anonymous homepage; auth and API requests always remain with this application. Integrations and models remain canonical here, with model docs and historical catalog redirects generated by `bun run reference-docs:generate`.
131+
130132
See the [environment variables reference](https://docs.sim.ai/self-hosting/environment-variables) for the full list, or [`apps/sim/.env.example`](apps/sim/.env.example) for defaults.
131133

132134
## Tech Stack

‎apps/sim/.env.example‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ BETTER_AUTH_URL=http://localhost:3000
2020
NEXT_PUBLIC_APP_URL=http://localhost:3000
2121
# NEXT_PUBLIC_STATUS_NOTICE_PREVIEW=true # Force the sidebar service-status notice into its critical preview state for testing
2222
# INTERNAL_API_BASE_URL=http://sim-app.default.svc.cluster.local:3000 # Optional: internal URL for server-side /api self-calls; defaults to NEXT_PUBLIC_APP_URL
23+
# LANDING_INTERNAL_ORIGIN=http://site.landing.staging.sim.internal:8080 # Hosted Sim only: private static homepage origin. Self-hosted installs redirect to auth and do not need this.
2324
# SIM_MCP_URL=https://mcp.example.com/mcp # Optional: dedicated host for the Sim MCP server; defaults to NEXT_PUBLIC_APP_URL/api/mcp
2425
# TRUSTED_ORIGINS=https://www.example.com,https://app.example.com # Optional: comma-separated additional public origins to trust for auth (apex+www, alias domains). Merged into Better Auth trustedOrigins.
2526
# AUTH_TRUSTED_PROXIES=10.0.0.0/24,192.0.2.10 # Optional: reverse-proxy IPs/CIDRs in front of the app. Better Auth walks x-forwarded-for right to left, skips these hops, and uses the first untrusted address as the client IP (prevents forwarded-header spoofing). Use your proxies' actual addresses, not broad private ranges that also cover clients.

‎apps/sim/next.config.ts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ const nextConfig: NextConfig = {
2121
},
2222
images: {
2323
formats: ['image/avif', 'image/webp'],
24-
/**
25-
* Allowed `quality` values for next/image. 75 is the app-wide default;
26-
* 90 exists for large photographic marketing assets (the landing hero
27-
* backdrop) where the default visibly softens texture.
28-
*/
29-
qualities: [75, 90],
24+
qualities: [75],
3025
remotePatterns: [
3126
{
3227
protocol: 'https',

0 commit comments

Comments
 (0)