mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-05 09:14:02 -04:00
12 lines
372 B
TypeScript
12 lines
372 B
TypeScript
/*
|
|
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
|
*
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
|
|
import { useBackendBaseUrl } from './use-backend-base-url'
|
|
|
|
export const useCustomizeAssetsUrl = (): string => {
|
|
const backendBaseUrl = useBackendBaseUrl()
|
|
return process.env.NEXT_PUBLIC_CUSTOMIZE_ASSETS_URL || `${backendBaseUrl}public/`
|
|
}
|