Skip to content

fix: remove empty 0-byte stub files privacy.html and refund.html (#864) - #925

Open
mrunalC27 wants to merge 1 commit into
adithyan-css:mainfrom
mrunalC27:fix/remove-empty-html-stubs
Open

fix: remove empty 0-byte stub files privacy.html and refund.html (#864)#925
mrunalC27 wants to merge 1 commit into
adithyan-css:mainfrom
mrunalC27:fix/remove-empty-html-stubs

Conversation

@mrunalC27

Copy link
Copy Markdown

Description

Removes public/privacy.html and public/refund.html, which existed as
0-byte empty files alongside the real content pages
public/privacy-policy.html and public/refund-policy.html.

Problem

Since express.static serves public/ directly, visiting
/privacy.html or /refund.html returned a blank HTTP 200 page instead
of a 404 or real content — confusing for anyone who lands on those URLs.

Investigation

Searched public/, api/, and middlewares/ for any reference to
privacy.html or refund.html (links, redirects, route handlers) —
found none. These appear to be leftover stub files from an earlier
rename to privacy-policy.html / refund-policy.html that were never
cleaned up.

Fix

Deleted both empty files. Since nothing in the codebase links to them,
this is the lowest-risk fix — visiting either URL now correctly returns
a 404 instead of a misleading blank page.

Testing

  • Ran npm run dev and confirmed both real pages
    (privacy-policy.html, refund-policy.html) still load correctly
  • Confirmed /privacy.html and /refund.html now return 404
  • No other files reference the removed filenames

Closes #864

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

@mrunalC27 is attempting to deploy a commit to the adithyansubramani1-1657's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Empty 0-byte stub files public/privacy.html and public/refund.html should be removed or redirected

1 participant