Sfoglia il codice sorgente

Improve error message

main
Adrian Short 3 anni fa
parent
commit
3565c09d79
Firmato da: adrian ID Chiave GPG: 4B54F9AE91AB06BB
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      lib/site.rb

+ 2
- 2
lib/site.rb Vedi 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



Caricamento…
Annulla
Salva