glanceapp / glance

A self-hosted dashboard that puts all your feeds in one place
GNU Affero General Public License v3.0
8.48k stars 295 forks source link

Different monitor urls #177

Closed MrExplode closed 3 months ago

MrExplode commented 3 months ago

Add different monitor URL for UI link and actual status checking. See corressponding issue: #154

I would like to receive feedback on the correctness of how I handled the fallback when check_url is not provided, I'm not familiar how Go Yaml handles missing properties.

svilenmarkov commented 3 months ago

Hey, thanks for contributing!

You were correct to assume that the value, when undefined, is an empty string. The YAML package uses the default zero values for each type if not provided.