Fix broken redirect for /gh-aw/patterns/chatops/#18505
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot only fix https://github.github.com/gh-aw/patterns/chatops/ . The |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done. Removed the 5 |
|
@copilot review redirects and make sure / validate whether the |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
The The existing entry at line 117 — |
|
@copilot https://github.github.com/gh-aw/patterns/chatops/ redirect to https://github.github.com/patterns/chat-ops/ . The target slug NEEDS the prefix. It does not work, try it out. |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
You're right. In Astro's static build output, redirect destinations are used as-is (the base is not automatically prepended to them). Updated the destination to include the full base prefix: Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Fixes the redirect for
https://github.github.com/gh-aw/patterns/chatops/so it correctly redirects tohttps://github.github.com/gh-aw/patterns/chat-ops/.Changes
'/patterns/chatops/'destination to'/gh-aw/patterns/chat-ops/'. In Astro's static build output, thebaseoption is only prepended to redirect source paths automatically; destination paths are used as-is and require the full base prefix explicitly.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.