fix: make asset paths absolute

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

@ -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

@ -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,

Loading…
Cancel
Save