Port 478dae0ab3420853d1d9ff2f6b3efcb85b322fd3 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
8 lines
243 B
TypeScript
8 lines
243 B
TypeScript
import { isServerFeatureEnabled } from '@/flavours/glitch/utils/environment';
|
|
|
|
export function areCollectionsEnabled() {
|
|
return isServerFeatureEnabled('collections');
|
|
}
|
|
|
|
export const getCollectionPath = (id: string) => `/collections/${id}`;
|