1
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-10-04 06:13:17 +00:00
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, '/');