René's URL Explorer Experiment


Title: `--public` mode seeds the server-root landing page into the served directory (namespace pollution for servejss / serve use case) · Issue #578 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Open Graph Title: `--public` mode seeds the server-root landing page into the served directory (namespace pollution for servejss / serve use case) · Issue #578 · JavaScriptSolidServer/JavaScriptSolidServer

X Title: `--public` mode seeds the server-root landing page into the served directory (namespace pollution for servejss / serve use case) · Issue #578 · JavaScriptSolidServer/JavaScriptSolidServer

Description: Problem Since the #433/#435 landing-page work, startup seeds /index.html, /.acl, and /index.html.acl into DATA_ROOT (skip-if-exists). This also happens in --public mode, where: WAC is bypassed, so the seeded ACLs are never consulted — th...

Open Graph Description: Problem Since the #433/#435 landing-page work, startup seeds /index.html, /.acl, and /index.html.acl into DATA_ROOT (skip-if-exists). This also happens in --public mode, where: WAC is bypassed, so ...

X Description: Problem Since the #433/#435 landing-page work, startup seeds /index.html, /.acl, and /index.html.acl into DATA_ROOT (skip-if-exists). This also happens in --public mode, where: WAC is bypassed, so ...

Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`--public` mode seeds the server-root landing page into the served directory (namespace pollution for servejss / serve use case)","articleBody":"## Problem\n\nSince the #433/#435 landing-page work, startup seeds `/index.html`, `/.acl`, and `/index.html.acl` into DATA_ROOT (skip-if-exists). This also happens in `--public` mode, where:\n\n- WAC is bypassed, so the seeded ACLs are never consulted — they are dead files.\n- The page's only dynamic behaviour — the HEAD-adaptive Sign up / Sign in buttons (#435) — is meaningless without auth.\n\nFor the serve-a-directory use case that `--public` was created for (#107 explicitly lists the jsserve wrapper as a primary motivation: *\"use JSS as a simple 'just serve this folder' tool like npx serve\"*), this writes three files into the user's project directory.\n\nReproduced with `jss start --root \u003cdir> --public` on 0.0.210: the served tree gains `index.html`, `.acl`, `index.html.acl`. This regressed servejss's \"like `serve`\" behaviour — early JSS versions left the served directory untouched.\n\n## Fix\n\nSkip `seedServerRoot` when `options.public` is set, alongside the existing read-only skip (`src/server.js`). Operators who want a landing page in public mode can still create `/index.html` by hand — skip-if-exists already honours it. Regression tests in `test/server-root.test.js` (public mode seeds nothing; container listing + file reads still work).\n\nThe two features were built for disjoint audiences — the landing page for pod providers (#276 / #303: \"new pod providers had to build a landing page from scratch\"), `--public` for serve-style file serving (#107) — and no point in the #276→#435 design history considered the `--public` case, so the collision is an oversight rather than a decision.\n\n## Considered alternatives\n\n- **Explicit `--no-root-page` flag** — leaves bare `jss --public` polluted by default (the exact complaint) and adds plumbing; explicitness only helps when the default is right.\n- **servejss deletes seeded files post-start** — racy, churns file watchers, risks deleting a legitimate user-owned `index.html` unless it fingerprints the template.\n- **Virtual (never-written) landing page** — the deeper #276 redesign; orthogonal and can layer on later, at which point the public-mode skip becomes redundant rather than wrong.\n\nRefs #107, #276, #433, #435, #459, #108.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-07-02T00:19:49Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:657cb7a7-9364-4246-6694-d40bcde04fad
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB4A4:7DF65:F6C4D:1398AD:6B038995
html-safe-noncef9f7b575889fb0418444dcb678ca119df2244902455c1134de2debfa334b8591
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNEE0OjdERjY1OkY2QzREOjEzOThBRDo2QjAzODk5NSIsInZpc2l0b3JfaWQiOiIzMTkwMTY1OTA2NjkzMjYxNzE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacc93ab08cb98264f9a2345080be475a90c78eb26c10b457da5ae7581499c4a736
hovercard-subject-tagissue:4790183010
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/JavaScriptSolidServer/578/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a2d3f719ca990fb7b6d3fa6156c4fa3d3480f2c1db23a57784e68f5f302637ba/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a2d3f719ca990fb7b6d3fa6156c4fa3d3480f2c1db23a57784e68f5f302637ba/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
og:image:altProblem Since the #433/#435 landing-page work, startup seeds /index.html, /.acl, and /index.html.acl into DATA_ROOT (skip-if-exists). This also happens in --public mode, where: WAC is bypassed, so ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id958025407
octolytics-dimension-repository_nwoJavaScriptSolidServer/JavaScriptSolidServer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id958025407
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/JavaScriptSolidServer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F578
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2FJavaScriptSolidServer%2Fissues%2F578
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JavaScriptSolidServer%2FJavaScriptSolidServer
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
Reloadhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer
JavaScriptSolidServerhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Codehttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer
Issues165 (165)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues
Pull requests14 (14)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pulls
Actionshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/actions
Projectshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/projects
Security and qualityhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/security
Insightshttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/insights
https://github.com/JavaScriptSolidServer/JavaScriptSolidServer
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
#579https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/579
--public mode seeds the server-root landing page into the served directory (namespace pollution for servejss / serve use case)https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578#top
#579https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/579
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Jul 2, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578#issue-4790183010
#433https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/433
#435https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/435
Refine seeded landing page: mode-agnostic copy + HEAD-adaptive Sign up/Sign in (#427) #435https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/435
#107https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/107
#276https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/276
#303https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/303
#107https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/107
#276https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/276
#435https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/435
Default index.html for server root #276https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/276
#107https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/107
#276https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/276
#433https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/433
#435https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/435
#459https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/459
#108https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/108
melvincarvalhohttps://github.com/melvincarvalho
on Jul 2, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578#event-27455234014
docs(configuration): note --public never seeds into the served direct…https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/1d0afb92ef6fc74735d554e1be9885e3ffcb587f
1d0afb9https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/1d0afb92ef6fc74735d554e1be9885e3ffcb587f
fix(server-root): skip landing-page seeding in --public mode (#578) (#…https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/ec8547b8081e11c5f1a211828bd20d07e782a956
#578https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
#…https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/579
ec8547bhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/ec8547b8081e11c5f1a211828bd20d07e782a956
melvincarvalhohttps://github.com/melvincarvalho
completedhttps://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#579https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/pull/579
on Jul 2, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578#event-27455286464
melvincarvalhohttps://github.com/melvincarvalho
on Jul 2, 2026https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578#event-27455348811
bump version to 0.0.211https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/0cb00a377e321a33c9373119544f5885a76474a4
0cb00a3https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/commit/0cb00a377e321a33c9373119544f5885a76474a4
Sign up for freehttps://github.com/signup?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
Sign in to commenthttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/578
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.