fix: make asset paths absolute

dev
gravel 2 years ago
parent 3ff2b297e1
commit 34c291b8b2
Signed by: gravel
GPG Key ID: C0538F3C906B308F

@ -56,7 +56,7 @@
* @var string $QR_CODES_RELATIVE * @var string $QR_CODES_RELATIVE
* Web-relative path to served QR codes. * Web-relative path to served QR codes.
*/ */
$QR_CODES_RELATIVE="qr-codes"; $QR_CODES_RELATIVE="/qr-codes";
/** /**
* @var string $ROOM_ICONS_CACHE * @var string $ROOM_ICONS_CACHE
@ -74,7 +74,7 @@
* @var string $ROOM_ICONS_RELATIVE * @var string $ROOM_ICONS_RELATIVE
* Web-relative path to served room icons. * Web-relative path to served room icons.
*/ */
$ROOM_ICONS_RELATIVE="icons"; $ROOM_ICONS_RELATIVE="/icons";
/** /**
* @var string $LONG_TERM_CACHE_ROOT * @var string $LONG_TERM_CACHE_ROOT

@ -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 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 = { export const COLUMN = {
LANGUAGE: 0, NAME: 1, LANGUAGE: 0, NAME: 1,

Loading…
Cancel
Save