This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/web_src/js/publicpath.js

7 lines
275 B
JavaScript
Raw Normal View History

// This sets up the URL prefix used in webpack's chunk loading.
// This file must be imported before any lazy-loading is being attempted.
import {joinPaths} from './utils.js';
const {assetUrlPrefix} = window.config;
__webpack_public_path__ = joinPaths(assetUrlPrefix, '/');