Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Migrates the project’s production domain defaults to devbits.app and updates deployment to support an AWS/systemd “native Go binary” path with backend-served static compliance/app-link assets.
Changes:
- Replaced
devbits.ddns.netwithdevbits.appacross frontend config, scripts, and backend CORS defaults. - Added native AWS deploy tooling (build script, systemd unit templating, deploy wrappers) and simplified Docker deployment by removing nginx.
- Added/served static files needed for app linking and compliance (AASA, assetlinks, privacy policy, account deletion) directly from the Go backend.
Reviewed changes
Copilot reviewed 29 out of 29 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/services/api.ts | Updates default API base URL to devbits.app and fallback logging. |
| frontend/public/privacy-policy.html | Updates public policy link to new domain. |
| frontend/eas.json | Updates production env URLs to devbits.app. |
| frontend/app/settings/about.tsx | Updates default site URL to devbits.app. |
| frontend/app.json | Updates iOS associated domains to devbits.app. |
| frontend/DEEP_LINK_SETUP.md | Updates deep-link hosting instructions to new domain. |
| backend/scripts/update-live.sh | Switches live update flow to native deploy wrapper. |
| backend/scripts/update-live.ps1 | Switches Windows flow to SSH remote native deploy. |
| backend/scripts/install-aws-systemd-service.sh | New systemd installer/templater for native deployment. |
| backend/scripts/deploy-aws-native.sh | New “build + install/restart systemd” deploy script. |
| backend/scripts/build-backend-linux.sh | New Linux build script producing bin/devbits-api. |
| backend/scripts/README.md | Updates backend scripts documentation and AWS runbook pointer. |
| backend/nginx/nginx.conf | Removes nginx runtime configuration (nginx no longer used). |
| backend/docs/AWS_TRANSFER_NO_NGINX.md | Adds AWS deployment runbook for ALB + systemd setup. |
| backend/docker-compose.yml | Removes nginx service and adds default CORS origins env. |
| backend/deploy/systemd/devbits-api.service | Adds systemd unit template used by installer script. |
| backend/api/static/privacy-policy.html | Adds backend-served privacy policy page. |
| backend/api/static/assetlinks.json | Adds backend-served Android App Links manifest. |
| backend/api/static/apple-app-site-association | Adds backend-served iOS Universal Links manifest. |
| backend/api/static/account-deletion.html | Adds backend-served account deletion instructions page. |
| backend/api/main.go | Updates allowed origins, admin dir resolution, serves static compliance/app-link files. |
| backend/api/internal/handlers/media_routes.go | Uses X-Forwarded-Proto to build correct absolute upload URLs behind proxies. |
| backend/api/internal/handlers/media_ingest.go | Updates example domain in comment. |
| backend/Dockerfile | Copies api/static into runtime image. |
| backend/.env.example | Adds AWS/RDS-focused env example and CORS defaults. |
| README.md | Links new AWS deployment runbook. |
| Powershell-Scripts/run-front.ps1 | Updates production backend selection text and env vars to devbits.app. |
| Bash-Scripts/run-front.sh | Updates production backend selection text and env vars to devbits.app. |
| .env.example | Updates default API URL to devbits.app. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Collaborator
Author
|
@copilot open a new pull request to apply changes based on the comments in this thread |
Contributor
Contributor
…SE_URL const mutation, installer guard, docs (#143) * Initial plan * Address PR review comments: AASA content-type, proxy header security, template check, API_BASE_URL fix, docs update Co-authored-by: elifouts <116454864+elifouts@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: elifouts <116454864+elifouts@users.noreply.github.com>
…nc script (#144) * Initial plan * Add sync-static.sh to prevent static file drift; fix account-deletion.html email Co-authored-by: grillinr <169214325+grillinr@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: grillinr <169214325+grillinr@users.noreply.github.com>
…y; update TypeScript configurations and enhance local development experience.
…change default user to ec2-user and enhance clarity in documentation.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 56 out of 67 changed files in this pull request and generated 5 comments.
Comments suppressed due to low confidence (2)
frontend/components/FadeInImage.tsx:1
handleLoadEndno longer forwards theeventargument to the caller’sonLoadEnd, which is a behavior change for any consumer relying on the load event payload. Keep the callback signature as(event) => { ...; onLoadEnd?.(event); }so callers still receive the event data.
frontend/app/(tabs)/index.tsx:1- Casting
transformtoas anylargely defeats the benefit of addingViewStyletyping and can mask real type errors in the animated style. Prefer a narrower cast (e.g. to the specifictransformtype) or adjust the style typing so the transform array is accepted withoutany.
Collaborator
Author
Collaborator
Author
Collaborator
Author
|
i need to go to bed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This pull request updates the project to use the new production domain
devbits.appinstead of the previousdevbits.ddns.net, and adds support for platform integration and compliance (such as account deletion and app linking). It also improves backend deployment and static asset handling, and updates documentation and configuration for AWS and systemd-based deployments. The most important changes are summarized below:Production Domain Migration:
devbits.ddns.nettodevbits.appacross environment files, frontend/backend scripts, CORS origins, and user-facing messages. This ensures all environments and deployments use the new production domain. [1] [2] [3] [4] [5] [6] [7] [8] [9]Platform Compliance and Static Asset Support:
apple-app-site-association(iOS universal links),assetlinks.json(Android app links), and a publicaccount-deletion.htmlpage for user data deletion requests. These are now served directly by the backend. [1] [2] [3] [4] [5]Backend Deployment and Configuration:
systemdservice unit for backend deployment and an improved.env.examplefor AWS/RDS setups, including CORS origins and admin secrets. [1] [2]docker-compose.ymlto remove the Nginx service, simplifying deployment (static assets are now served by the Go backend). [1] [2] [3]Documentation Updates:
README.mdto reference new backend AWS deployment instructions.Code Improvements:
These changes collectively modernize the deployment, improve platform compatibility, and ensure regulatory compliance for user data handling.