Bläddra i källkod

Improve error message

main
Adrian Short 1 år sedan
förälder
incheckning
3565c09d79
Signerad av: adrian GPG-nyckel ID: 4B54F9AE91AB06BB
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. +2
    -2
      lib/site.rb

+ 2
- 2
lib/site.rb Visa fil

@@ -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



Laddar…
Avbryt
Spara