mirror of
https://github.com/YunoHost/dynette.git
synced 2024-09-03 20:06:17 +02:00
Oops
This commit is contained in:
parent
55e8bca98c
commit
1191b38022
2 changed files with 2 additions and 2 deletions
BIN
.dynette.rb.swp
BIN
.dynette.rb.swp
Binary file not shown.
|
@ -7,7 +7,7 @@ require 'json'
|
||||||
|
|
||||||
DataMapper.setup(:default, ENV['DATABASE_URL'] || "postgres://postgres:yayaya@localhost/dynette")
|
DataMapper.setup(:default, ENV['DATABASE_URL'] || "postgres://postgres:yayaya@localhost/dynette")
|
||||||
DOMAIN = "yoyoyo.fr"
|
DOMAIN = "yoyoyo.fr"
|
||||||
ALLOWED_IP = "127.0.0.1"
|
ALLOWED_IP = "82.196.13.142"
|
||||||
|
|
||||||
class Entry
|
class Entry
|
||||||
include DataMapper::Resource
|
include DataMapper::Resource
|
||||||
|
@ -180,4 +180,4 @@ get '/unban/:ip_to_ub' do
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
DataMapper.auto_migrate!
|
DataMapper.auto_upgrade!
|
||||||
|
|
Loading…
Reference in a new issue