GitLab wird am Montag, den 31. Januar, zwischen 08:00 und 12:00 Uhr wegen wichtigen Wartungsarbeiten nicht zur Verfügung stehen.

Unverified Commit 590f9a93 authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixed Web IDE web workers not loading with relative root URL

parent aaee3fb4
......@@ -6,5 +6,5 @@ export function resetServiceWorkersPublicPath() {
// see:
const relativeRootPath = (gon && gon.relative_url_root) || '';
const webpackAssetPath = `${relativeRootPath}/assets/webpack/`;
__webpack_public_path__ = webpackAssetPath; // eslint-disable-line camelcase
window.__webpack_public_path__ = webpackAssetPath; // eslint-disable-line
title: Fixed Web IDE web workers not working with relative URLs
type: fixed
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment