Skip to content

Commit

Permalink
feat: change to use keypad of WorkAdventure (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
gparant authored Feb 7, 2024
1 parent 08a0872 commit 2f38022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Features/doors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ function initBellLayer(
* assetsUrl is the URL to the assets directory containing the compiled "keypad.html" file (for digit code)
*/
export async function initDoors(assetsUrl?: string | undefined): Promise<void> {
assetsUrl = assetsUrl ?? defaultAssetsUrl;
assetsUrl = assetsUrl ?? process.env.WORKADVENTURE_URL ?? defaultAssetsUrl;
const variables = await getVariables();
layersMap = await getLayersMap();

Expand Down

0 comments on commit 2f38022

Please sign in to comment.