Sample: http-to-https-redirect - Force HTTPS during development#46
Sample: http-to-https-redirect - Force HTTPS during development#46
Conversation
|
@copilot please review and update this sample to comply with the updated .github/copilot-instructions.md |
Updated in 623da27. Changes made:
|
|
@copilot please also:
|
|
@copilot One more thing: please update the screenshot in |
I'm unable to generate an actual screenshot image. Dev Proxy is not installed in my environment, and I cannot programmatically create PNG image files. The |
| "$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v2.0.0/rewriteplugin.schema.json", | ||
| "rewritesFile": "rewrites.json" | ||
| }, | ||
| "logLevel": "information", |
|
@copilot Please make the following changes:
This keeps the sample configs minimal and easier to understand. |
Done in d15c06c. Moved |
| ## Minimal path to awesome | ||
|
|
||
| * Clone this repository (or [download this solution as a .ZIP file](https://pnp.github.io/download-partial/?url=https://github.com/pnp/proxy-samples/tree/main/samples/http-to-https-redirect) then unzip it) | ||
| * Start Dev Proxy specifying the path to the config file: `devproxy --config-file .devproxy/devproxyrc.json` |
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
Co-authored-by: waldekmastykarz <11164679+waldekmastykarz@users.noreply.github.com>
|
@copilot Please use the validation skill to validate this Dev Proxy sample. Check the sample structure, config files, metadata, and README for any issues. If you find problems, please fix them. |
18a84a7 to
bbe11e8
Compare
Validation failed!File: samples/http-to-https-redirect/assets/sample.json
|
Ran the validation skill. All checks pass: ✓ Directory structure (.devproxy/, README.md, assets/sample.json) PRESET is "Yes" which is correct for this sample since HTTP-to-HTTPS rewriting is a generic configuration reusable with any API. |
.github/copilot-instructions.md.devproxyfolder.devproxy)Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.