Browse Source

Improve error message

main
Adrian Short 1 year ago
parent
commit
3565c09d79
Signed by: adrian GPG Key ID: 4B54F9AE91AB06BB
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/site.rb

+ 2
- 2
lib/site.rb View File

@@ -8,8 +8,8 @@ require 'rss'
if ENV['KIOSKS_SITEURL']
SITEURL = ENV['KIOSKS_SITEURL']
else
puts "KIOSKS_SITEURL environment variable must be set to the base URL of the site without a trailing slash"
puts "eg https://kiosks.adrianshort.org"
puts "KIOSKS_SITEURL environment variable must be set to the base URL of the site without a trailing slash, eg:"
puts "export KIOSKS_SITEURL=https://kiosks.adrianshort.org"
exit 1
end



Loading…
Cancel
Save