Skip to content

Commit

Permalink
fix: Unset system properties could prevent loading excalidraw
Browse files Browse the repository at this point in the history
  • Loading branch information
bric3 committed Nov 12, 2024
1 parent b20f52c commit 7fe8734
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ class ExcalidrawWebViewController(
private const val pluginDomain = "excalidraw-jetbrains-plugin"
const val pluginUrl = "https://$pluginDomain/index.html"

private val webappPath = System.getProperty("excalidraw.internal.webappPath")
private val webappExcalidrawAssetsPath = System.getProperty("excalidraw.internal.webappExcalidrawAssetsPath")
private val webappPath = System.getProperty("excalidraw.internal.webappPath", "UNSET")
private val webappExcalidrawAssetsPath = System.getProperty("excalidraw.internal.webappExcalidrawAssetsPath", "UNSET")

val mapper = jacksonObjectMapper().apply {
configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)
Expand Down

0 comments on commit 7fe8734

Please sign in to comment.