From c9b7dec08d8607f6b7394336db03b8e95f283243 Mon Sep 17 00:00:00 2001 From: Donavon McDowell Date: Tue, 10 Dec 2024 21:13:59 -0700 Subject: [PATCH] addd some stuff --- backend/{ => routes}/msal.js | 2 +- frontend/env.locals | 0 frontend/src/routes/settings/+page.svelte | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename backend/{ => routes}/msal.js (98%) create mode 100644 frontend/env.locals create mode 100644 frontend/src/routes/settings/+page.svelte diff --git a/backend/msal.js b/backend/routes/msal.js similarity index 98% rename from backend/msal.js rename to backend/routes/msal.js index 452afc1..cdd6920 100644 --- a/backend/msal.js +++ b/backend/routes/msal.js @@ -23,7 +23,7 @@ const msal = require('@azure/msal-node'); // Please see "Certificates and Secrets" (https://learn.microsoft.com/azure/active-directory/develop/security-best-practices-for-app-registration#certificates-and-secrets) // for more information. -const privateKeySource = fs.readFileSync('./certs/example.key'); +const privateKeySource = fs.readFileSync('../certs/example.key'); const privateKeyObject = crypto.createPrivateKey({ key: privateKeySource, diff --git a/frontend/env.locals b/frontend/env.locals new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/routes/settings/+page.svelte b/frontend/src/routes/settings/+page.svelte new file mode 100644 index 0000000..e69de29