1
1
Fork 1
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-05 05:26:07 +02:00
gitea/web_src/js/publicpath.js
wxiaoguang 2add8fe9be
Frontend refactor, PascalCase to camelCase, remove unused code (#17365)
* Frontend refactor, PascalCase to camelCase, remove unused code

* fix
2021-10-21 15:37:43 +08:00

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, '/');