diff --git a/.phpenv b/.phpenv index d31ebf8..1e95857 100644 --- a/.phpenv +++ b/.phpenv @@ -56,7 +56,7 @@ * @var string $QR_CODES_RELATIVE * Web-relative path to served QR codes. */ - $QR_CODES_RELATIVE="qr-codes"; + $QR_CODES_RELATIVE="/qr-codes"; /** * @var string $ROOM_ICONS_CACHE @@ -74,7 +74,7 @@ * @var string $ROOM_ICONS_RELATIVE * Web-relative path to served room icons. */ - $ROOM_ICONS_RELATIVE="icons"; + $ROOM_ICONS_RELATIVE="/icons"; /** * @var string $LONG_TERM_CACHE_ROOT diff --git a/output/js/util.js b/output/js/util.js index 4d89ad6..e8b501f 100644 --- a/output/js/util.js +++ b/output/js/util.js @@ -190,7 +190,7 @@ export const IDENTIFIER_PASTE = "Copied internal room identifier. Use it to iden export const DETAILS_LINK_PASTE = "Copied link to Community details."; -export const communityQRCodeURL = (communityID) => `qr-codes/${communityID}.png` +export const communityQRCodeURL = (communityID) => `/qr-codes/${communityID}.png` export const COLUMN = { LANGUAGE: 0, NAME: 1,