瀏覽代碼

Improve error message

main
Adrian Short 4 年之前
父節點
當前提交
3565c09d79
簽署人: adrian GPG Key ID: 4B54F9AE91AB06BB
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      lib/site.rb

+ 2
- 2
lib/site.rb 查看文件

@@ -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…
取消
儲存