mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
fix: Empty IFRAMELY_URL environment variable triggers validation
Related #7401
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user