-
-
Notifications
You must be signed in to change notification settings - Fork 18
feat: add devcontainer configuration and proxy setup for API requests #1473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
| // README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node | ||
| { | ||
| "name": "Node.js & TypeScript", | ||
| // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
| "image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm" | ||
|
|
||
| // Features to add to the dev container. More info: https://containers.dev/features. | ||
| // "features": {}, | ||
|
|
||
| // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
| // "forwardPorts": [], | ||
|
|
||
| // Use 'postCreateCommand' to run commands after the container is created. | ||
| // "postCreateCommand": "yarn install", | ||
|
|
||
| // Configure tool-specific properties. | ||
| // "customizations": {}, | ||
|
|
||
| // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
| // "remoteUser": "root" | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -136,7 +136,9 @@ | |||||
| "serve": { | ||||||
| "builder": "@angular-devkit/build-angular:dev-server", | ||||||
| "options": { | ||||||
| "buildTarget": "dissendium-v0:build" | ||||||
| "buildTarget": "dissendium-v0:build", | ||||||
| "host": "127.0.0.1", | ||||||
|
||||||
| "host": "127.0.0.1", | |
| "host": "0.0.0.0", |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,6 @@ | ||||||
| { | ||||||
| "/api/**": { | ||||||
| "target": "https://app.rocketadmin.com/api/", | ||||||
|
||||||
| "target": "https://app.rocketadmin.com/api/", | |
| "target": "https://app.rocketadmin.com", |
Copilot
AI
Dec 15, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting "secure" to false disables SSL certificate verification, which can expose the application to man-in-the-middle attacks. Unless there's a specific reason for this (e.g., self-signed certificates in development), this should be set to true for security best practices, especially when connecting to a production API endpoint.
| "secure": false | |
| "secure": true |
Uh oh!
There was an error while loading. Please reload this page.