From 1191b3802203dff321e9788bc0df91b14ffde36b Mon Sep 17 00:00:00 2001 From: Kload Date: Sat, 15 Jun 2013 22:15:41 +0000 Subject: [PATCH] Oops --- .dynette.rb.swp | Bin 20480 -> 20480 bytes dynette.rb | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.dynette.rb.swp b/.dynette.rb.swp index 04b84a734871d3a8694c8e3381d05cde1e03e985..40f90850ccc55d1ab01ef3a2fdf137834c043d1a 100644 GIT binary patch delta 281 zcmWN=u}cDB0Egk9h{M@kIwXyqiY~&{c~OSw6vz>QA7p!xwMG!MNJ3P9fP?D|MN5m^ z>Kv`v&=%O@5EV59ZM_dX{V36o61n}A-EiAo_W~g+UCqX3I?8=5rNXon4lFk~&t{|y zlYE<(rhMcbuX)HWJ2Y&w#WG8@`RPa>eBm=EeBdo_c*YJ5+uUT41xHQ&+R_idIpdg@ z>~V{We4mqEdC!PL8iw(oyOWMhC$_TU$f_F_B@fZRJClGxnx!plGfAblh09P7Td6VlGQcL>|JFsG|l4HYzy80YaDurC)sD9TU9b34JtBg995S>?0mjQLBKo!~#Ef zK^yltMieu@^o1cF@c;*w`)Ardx11PzjdUiLOmW&x9PI^+tNO+D>CO4Bx<(=H-sW53 Ee_1>=r~m)} diff --git a/dynette.rb b/dynette.rb index 3a48e77..172bbc7 100755 --- a/dynette.rb +++ b/dynette.rb @@ -7,7 +7,7 @@ require 'json' DataMapper.setup(:default, ENV['DATABASE_URL'] || "postgres://postgres:yayaya@localhost/dynette") DOMAIN = "yoyoyo.fr" -ALLOWED_IP = "127.0.0.1" +ALLOWED_IP = "82.196.13.142" class Entry include DataMapper::Resource @@ -180,4 +180,4 @@ get '/unban/:ip_to_ub' do end -DataMapper.auto_migrate! +DataMapper.auto_upgrade!