wip - #36
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5205745a90
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| rel="manifest" | ||
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/manifest.json" | ||
| /> |
There was a problem hiding this comment.
Point manifest link to an existing manifest file
The new manifest URL points at products/frontend/public/manifest.json, but the repository only contains site.webmanifest in that directory and no manifest.json. When this HTML is served, the browser will fetch a raw GitHub URL that 404s, so the manifest is ignored and PWA metadata (name/icons/install prompt) won’t apply. This affects any environment relying on index.html to supply the manifest; you likely want to reference the existing site.webmanifest or add the missing file.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Pull request overview
This PR updates asset URLs in the HTML file and adds a new OG image. The changes migrate from using a domain-based URL (https://pay-crew2.yukiosada.work/public/) to GitHub raw content URLs (https://raw.githubusercontent.com/) for static assets like favicons and the OG image.
Changes:
- Updated favicon, apple-touch-icon, and manifest URLs to point to GitHub raw content URLs
- Changed OG image reference from "og-image.webp" to "pay-crew2.webp"
- Added new webp image file (pay-crew2.webp) to the public directory
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| products/frontend/public/pay-crew2.webp | New webp image file added for OG meta tags |
| products/frontend/index.html | Updated asset URLs from domain-based to GitHub raw URLs and changed OG image reference |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| /> | ||
| <link | ||
| rel="manifest" | ||
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/manifest.json" |
There was a problem hiding this comment.
The manifest file reference is incorrect. The HTML references "manifest.json" but the actual file in the public directory is named "site.webmanifest". This will result in a 404 error when browsers try to load the manifest.
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/manifest.json" | |
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/site.webmanifest" |
| <meta property="og:image" content="https://pay-crew2.yukiosada.work/public/og-image.webp" /> | ||
| <meta | ||
| property="og:image" | ||
| content="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/pay-crew2.webp" |
There was a problem hiding this comment.
The OG image reference has been changed from "og-image.webp" to "pay-crew2.webp", but this introduces a naming inconsistency. The file being added in this PR is "pay-crew2.webp" which appears to be an OG image based on its usage. Consider renaming the file to "og-image.webp" for clarity, or ensure this change is intentional and the old og-image.webp file is no longer needed.
| content="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/pay-crew2.webp" | |
| content="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/og-image.webp" |
| <link | ||
| rel="icon" | ||
| href="https://pay-crew2.yukiosada.work/public/favicon.ico" | ||
| type="image/png" | ||
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/favicon-96x96.png" | ||
| sizes="96x96" | ||
| /> | ||
| <link | ||
| rel="icon" | ||
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/favicon.ico" | ||
| type="image/vnd.microsoft.icon" | ||
| sizes="any" | ||
| /> | ||
| <link rel="apple-touch-icon" sizes="180x180" href="https://pay-crew2.yukiosada.work/public/apple-touch-icon.png" /> | ||
| <link rel="manifest" href="https://pay-crew2.yukiosada.work/public/manifest.json" /> | ||
| <link | ||
| rel="apple-touch-icon" | ||
| sizes="180x180" | ||
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/apple-touch-icon.png" | ||
| /> | ||
| <link | ||
| rel="manifest" | ||
| href="https://raw.githubusercontent.com/Pay-Crew/pay-crew2/refs/heads/main/products/frontend/public/manifest.json" | ||
| /> |
There was a problem hiding this comment.
Using raw.githubusercontent.com URLs that reference a specific branch (main) is problematic for production. If the files change or are removed from the main branch, the links will break. Additionally, raw.githubusercontent.com is not intended for production hosting and doesn't provide CDN caching benefits. Consider either using relative paths (e.g., "/favicon-96x96.png") if these files are served from the same domain, or using a proper CDN or static asset hosting service.
No description provided.