This commit is contained in:
Kload 2013-06-16 08:21:46 +00:00
parent a98904ec3c
commit 7eef821ddc

View file

@ -7,8 +7,8 @@ require 'json'
DataMapper.setup(:default, ENV['DATABASE_URL'] || "postgres://postgres:yayaya@localhost/dynette") DataMapper.setup(:default, ENV['DATABASE_URL'] || "postgres://postgres:yayaya@localhost/dynette")
DOMAINS = ["yoyoyo.fr", "yayaya.fr"] DOMAINS = ["yoyoyo.fr", "yayaya.fr"]
#ALLOWED_IP = "82.196.13.142" ALLOWED_IP = "82.196.13.142"
ALLOWED_IP = "127.0.0.1" #ALLOWED_IP = "127.0.0.1"
class Entry class Entry
include DataMapper::Resource include DataMapper::Resource