support VERCEL_PROJECT_PRODUCTION_URL (#967)
This commit is contained in:
parent
ee99e97dfe
commit
4d9afe7d48
@ -1,6 +1,6 @@
|
|||||||
import { fetchPrivateKey, fetchPublicKey } from 'utils';
|
import { fetchPrivateKey, fetchPublicKey } from 'utils';
|
||||||
|
|
||||||
const appUrl = process.env.APP_URL || 'http://localhost:4000';
|
const appUrl = process.env.APP_URL || `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}` || 'http://localhost:4000';
|
||||||
const entityId = process.env.ENTITY_ID || 'https://saml.example.com/entityid';
|
const entityId = process.env.ENTITY_ID || 'https://saml.example.com/entityid';
|
||||||
const privateKey = fetchPrivateKey();
|
const privateKey = fetchPrivateKey();
|
||||||
const publicKey = fetchPublicKey();
|
const publicKey = fetchPublicKey();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user