diff --git a/jupyter/src/com/intellij/notebooks/jupyter/core/jupyter/preview/JupyterCefHttpHandlerBase.kt b/jupyter/src/com/intellij/notebooks/jupyter/core/jupyter/preview/JupyterCefHttpHandlerBase.kt index 5b105e52ae89..0c89a60c7b5c 100644 --- a/jupyter/src/com/intellij/notebooks/jupyter/core/jupyter/preview/JupyterCefHttpHandlerBase.kt +++ b/jupyter/src/com/intellij/notebooks/jupyter/core/jupyter/preview/JupyterCefHttpHandlerBase.kt @@ -50,13 +50,13 @@ abstract class JupyterCefHttpHandlerBase(private val absolutePathFiles: Set loader.pluginDescriptor.pluginPath } - // = out/classes/production/intellij.jupyter.plugin.frontend or out/classes/production/intellij.notebooks.plugin + // = out/classes/production/intellij.jupyter.plugin or out/classes/production/intellij.notebooks.plugin // PathUtil.getJarPathForClass(javaClass) = out/classes/production/intellij.jupyter.core - // But our resources lie not in out/classes but in out/dev-run - else if (url.toString().contains("out/classes/production/intellij.jupyter.plugin.frontend")) { - url = URL(url.toString().replace("out/classes/production/intellij.jupyter.plugin.frontend", "out/dev-run/Python/plugins/jupyter-plugin")) + // But our resources located not in out/classes but in out/dev-run + else if (url.toString().contains("out/classes/production/intellij.jupyter.plugin")) { + url = URL(url.toString().replace("out/classes/production/intellij.jupyter.plugin", "out/dev-run/Python/plugins/jupyter-plugin")) } if (url != null) {