mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-07-04 07:36:53 +02:00
7 lines
275 B
JavaScript
7 lines
275 B
JavaScript
// 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, '/');
|