diff options
author | vnugent <public@vaughnnugent.com> | 2024-06-06 21:31:30 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-06-06 21:31:30 -0400 |
commit | 9d1df65d99732a68b4fe96dcc75273442cbd322f (patch) | |
tree | 9a28619f6caaf68d47ea0e620c62da3ea3aeaf81 /front-end | |
parent | 5ecd6b39cccdc9500540b10685605b5fcba61f69 (diff) |
fix: Some container fixes and compatability
Diffstat (limited to 'front-end')
-rw-r--r-- | front-end/.env | 2 | ||||
-rw-r--r-- | front-end/src/main.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/front-end/.env b/front-end/.env index 710aaa0..ded10d3 100644 --- a/front-end/.env +++ b/front-end/.env @@ -4,7 +4,7 @@ VITE_CORS_ENABLED=false #The VNLib.Plugins.Essentials.Accounts plugin security header value VITE_WEB_TOKEN_HEADER="X-Web-Token" -VITE_LOGIN_COOKIE_ID="li" +VITE_LOGIN_COOKIE_ID="cmn-li" VITE_PKI_ENABLED=true diff --git a/front-end/src/main.ts b/front-end/src/main.ts index ac32bb6..b3a5ad7 100644 --- a/front-end/src/main.ts +++ b/front-end/src/main.ts @@ -57,7 +57,7 @@ import { cmnextAdminPlugin } from './store/cmnextAdminPlugin' configureApi({ session: { //The identifier of the login cookie, see Essentials.Accounts docs - loginCookieName: 'li', + loginCookieName: import.meta.env.VITE_LOGIN_COOKIE_ID, browserIdSize: 32, }, user: { |