fix: Empty IFRAMELY_URL environment variable triggers validation

Related #7401
This commit is contained in:
Tom Moor
2024-08-16 22:40:04 -04:00
parent eee14d98a7
commit a65d126ccf
+1 -1
View File
@@ -14,7 +14,7 @@ class IframelyPluginEnvironment extends Environment {
allow_underscores: true,
protocols: ["http", "https"],
})
public IFRAMELY_URL = environment.IFRAMELY_URL ?? "https://iframe.ly";
public IFRAMELY_URL = environment.IFRAMELY_URL || "https://iframe.ly";
/**
* Iframely API key