Files
SCM-Manager/scm-ui/ui-webapp/webpack/webpack-public-path.js

22 lines
940 B
JavaScript
Raw Normal View History

/*
* Copyright (c) 2020 - present Cloudogu GmbH
*
* This program is free software: you can redistribute it and/or modify it under
* the terms of the GNU Affero General Public License as published by the Free
* Software Foundation, version 3.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
* details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
2019-10-08 09:29:11 +02:00
/* global __webpack_public_path__ */
2019-10-07 17:06:00 +02:00
// setup webpack public path:
// https://stackoverflow.com/questions/39879680/example-of-setting-webpack-public-path-at-runtime
// https://github.com/coryhouse/react-slingshot/pull/207/files
__webpack_public_path__ = window.ctxPath + "/assets/";