Copilot instructions and build/test skills (#2444)

* Add copilot instructions and skills for build and tests.

* Add dev-server skill.

* Auth Util changes to fix Entra login while running from copilot.

* Fix lint issue.
This commit is contained in:
jawelton74
2026-04-06 15:51:54 -07:00
committed by GitHub
parent cd4766b490
commit b483118b99
7 changed files with 546 additions and 1 deletions

View File

@@ -61,7 +61,9 @@ export async function getMsalInstance() {
},
};
if (process.env.NODE_ENV === "development") {
if (configContext.msalRedirectURI) {
msalConfig.auth.redirectUri = configContext.msalRedirectURI;
} else if (process.env.NODE_ENV === "development" || window.location.hostname === "localhost") {
msalConfig.auth.redirectUri = "https://dataexplorer-dev.azurewebsites.net";
}