grc4kd / my-resume

Griffin Crane's Professional Resume
MIT License
0 stars 0 forks source link

Cleaned up and corrected App Check loader and workflow environment variables. #15

Closed grc4kd closed 1 week ago

grc4kd commented 1 week ago

For this PR, I'm attempting to set the environment variable during workflow and I've removed the special handling and separate Angular environment member environment.useCIAppCheckDebugToken. If environment.useAppCheckDebugToken is set to true before compilation, then the JavaScript runtime should have access to this environment variable through the global object accessor globalThis.

Broke down long function setupAppCheck() and setup fail-safe for production mode in appCheckDebugTokenFailSafe.