Skip to content

Commit

Permalink
feat: allow loading OPL configs from base64 URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
zepatrik committed Nov 16, 2022
1 parent 423647a commit 640abc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/config/opl_config_namespace_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func newOPLConfigWatcher(ctx context.Context, c *Config, target string) (*oplCon
switch targetUrl.Scheme {
case "file":
return nw, watchTarget(ctx, target, nw, c.l)
case "http", "https":
case "http", "https", "base64":
file, err := c.Fetcher().Fetch(target)
if err != nil {
return nil, err
Expand Down

0 comments on commit 640abc1

Please sign in to comment.